Hello,
I am trying to access the user’s photo library via media.show(), upon a successful choice I will upload the chosen file using a post request out to my web service.
First problem - using the media.show with media.PhotoLibrary does not give me the full path or filename to the chosen file. I’ve read on the documentation this is not possible can you confirm?
Second problem - I have tried to work around this by taking the display object that media.show passes to the callback and I save this to the resource directory using display.save(). After doing this I noticed my images were getting cut off because they did not fit on the screen. From what I’ve read this is the normal behavior for display.save(). I rather not have to scale the images before I save, I need to maintain the original resolutions.
Does anyone have any ideas on something that might work for this type of situation?
BTW - I was planning on using something like this to upload the files
http://developer.coronalabs.com/code/how-upload-image-server-multipartform-data
[import]uid: 154286 topic_id: 28709 reply_id: 328709[/import]