Your task will be to create a simple page that uploads an image to a server from the iPhone camera roll / camera.
PhoneGap would be the easiest method, as the scripts are already available, I just need it set up.
- The iPhone user has 2 options. Camera roll or camera.
- When the user has selected or taken the picture, it will preview that image on the page.
- The user can then upload this image.
- The user will see a progress bar as the file is uploading.
A script is available here - [url removed, login to view]
I then need the file transferred to a specified server directory. iPhone 4 users will upload a 640 x 960 resolution, these will need to be resized to 320 x 480 (by imagejpeg() )
Thank you for looking.