springroll Posted January 31, 2005 Share Posted January 31, 2005 Hello, I would like to create sub-folders in the image directory. The sub-folders shall have similar names as my categories. And I want to upload product images to their respective sub-folders according to the categories which they belong. I saw this tips here: http://www.oscommerce.info/kb/osCommerce/Tips_and_Tricks/188 I followed the instructions but the images are still uploaded to the default image directory itself? This is what I have done based on what that tips instructed. 1. Create at ftp, create sub-folder. 2. Use ftp to upload image from harddisk to server, putting it in the sub-folder. 3. At the admin section on the web, I browse for the image in my hard-disk. It should come out as C:\Documents and Settings\Yip\My Documents\oscommerce\linux\oscommerce-2.2ms2\catalog\images\clothes\shirt001.jpg And I removed all the back slashes and changed the last back slash to a forward slash. C:Documents and SettingsYipMy Documentsoscommercelinuxoscommerce-2.2ms2catalogimagesclothes/shirt001.jpg But the image still got uploaded to the image directory, instead of the images/clothes directory! Have I made a mistake? How should it be done? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.