Image upload to another location

I am trying to upload an image from a form to the following location /public_html/website.com/iphone/uploades/gallery_images/
But my SC application is located in the following folder http://website.com/webadmin/

I tried changing the Sub-folder for the image field to point to /public_html/website.com/iphone/uploades/gallery_images/ but its not letting me upload to this location.
Its uploading to the following location /public_html/website.com/webadmin/_lib/file/img/public_html/website.com/iphone/uploades/gallery_images/

Someone please help me resolve this issue. I need to upload the image outside the SC application folder.

Thanks!
Sai

You could look at the documents path in the form settings option. Not sure if it works, but afaik the subdir is created based upon this setting. If that doesn’t work you can consider creating a custom upload function (i.e. within libraries section).

Hi Albert,

I tried changing the Documents Folder and the Images Folder path in the settings to /public_html/website.com/iphone/uploades/gallery_images/ but it does not seem to work.

I dont know the code to upload image in the programing > PHP Methods
My filed for the image is called vItem_Image and I want to image to be saved in /public_html/website.com/iphone/uploades/gallery_images/ location.

I was affraid of that. In fact I think it’s a bug and we’ve reported it to SC. Meanwhile you need a work-around and that means that you need your own php upload. Now if you google you’ll find a lot. I think this is a nice one to start with:

http://www.htmlgoodies.com/beyond/php/article.php/3877766/Web-Developer-How-To-Upload-Images-Using-PHP.htm