How to load images via PHP code
Posted: 2014-04-02 19:00
I am developing a mobile app which interacts with my AppGini db. One feature I'd like to implement is the ability to upload photos from my mobile app to my AppGini app. I am able to upload my photos to a folder on the web server and I am able to trigger php scripts on my web server from my mobile app.
What I need to figure out is a way to emulate what happens when you are inside a record detail view and upload a photo. I would like the photo I have saved onto the web server to be "imported" into AppGini which is essentially an act of renaming it as per AppGini random naming rules, resizing it with the _tv & _dv suffixes, saving these files into the proper AppGini folders and then making the appropriate db entries. So in essence I need to write that php script which my mobile app needs to trigger.
Anyone tackled something like this in the past or am I in total darkness? Thanks for any insight you might have.
What I need to figure out is a way to emulate what happens when you are inside a record detail view and upload a photo. I would like the photo I have saved onto the web server to be "imported" into AppGini which is essentially an act of renaming it as per AppGini random naming rules, resizing it with the _tv & _dv suffixes, saving these files into the proper AppGini folders and then making the appropriate db entries. So in essence I need to write that php script which my mobile app needs to trigger.
Anyone tackled something like this in the past or am I in total darkness? Thanks for any insight you might have.