Page 1 of 1

Saving new image over existing image

Posted: Tue Jul 08, 2014 4:57 pm
by TIM Anderson

I have an image that I want to replace with a new image taken from phone. Currently, it saves it to a different location. Can I have the new image save to the same location as the original image?


Saving new image over existing image

Posted: Tue Jul 08, 2014 5:10 pm
by Evgene Karachevtsev

Hello,

Could you please clarify where do you keep the picture (in the database or on sd card)? Also please detail how do you save it now?


Saving new image over existing image

Posted: Tue Jul 08, 2014 5:51 pm
by TIM Anderson

The original pictures were set through asset for the image and are stored at - /Learning.app/www/project/files/views/assets/image. I then use a camera service that creates a file uri that is stored on sd card for android and tmp folder for Ios.

I was hoping I could just replace /Learning.app/www/project/files/views/assets/image/photo1 with the new photo1


Saving new image over existing image

Posted: Wed Jul 09, 2014 6:10 am
by Kateryna Grynko

Hi Tim,

Please check here: http://stackoverflow.com/questions/93...


Saving new image over existing image

Posted: Wed Jul 09, 2014 9:15 pm
by TIM Anderson

Thank you