Guest Posted October 12, 2005 Share Posted October 12, 2005 I wish to change the location of my product images to images/stock I know it is not that important an issue but I like to keep everything tidy Any ideas? Many thanks Russell Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 12, 2005 Share Posted October 12, 2005 I wish to change the location of my product images to images/stock I know it is not that important an issue but I like to keep everything tidy Any ideas? Many thanks Russell what way are you using to upload them? if it's EP, just name the image 'stock/imagename.jpg' if it's via osC admin, it's more complicated you basically only have 2 options then: option 1: 1) change the directory the image is uploaded to, and change all references to products pics in catalog and admin for the new path (I know this would SUCK) 2) do not change the directory of the upload. Have the variable of the image changed to 'stock/' . $image_name before the insert happens. You will NOT be able to see the correct pic in the preview if you do this (unless you change the path in the preview, which will then result in broken images for products you are editing ... of course you could make that an if/else clause to show evrything just fine) :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Zero-G Posted October 12, 2005 Share Posted October 12, 2005 I found a contribution that will do what you want almost. It will put the images in folders in the same structur as your categories. I havent tried it but i shall install it today to se how it works http://www.oscommerce.com/community/contributions,2409 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.