Renaming and Moving Images
G'day,
A client has begun the process of adding their products into their new store. I set up a structure for them with separate image directories for each manufacturer in order to keep things orgnised. Image Handler 2 is being used so that they need only one image file to cover all of the image sizes.
I gave them strict guidelines as to how to name images and stressed that they be extra careful to ensure that images are being uploaded into the right directories.
But of course, plenty of images have been loaded with bad filenames and in the wrong directories.
Is there a utility about that would enable someone to step through the images names in the database in a specified order (e.g. by manufacturer), and enable the image to be renamed and moved with the new details being put into the database.
For example, 'Product X' from "Manufacturer 1" has the filename "product x.jpg" and has been uploaded into the images subdirectory. By entering 'manufacturer1/product_x.jpg' as the new image filename for the Zen Cart database, the actual filename is also renamed to 'product_x.jpg' and moved to the 'manufacturer1' directory.
I'm hoping this is enough of a problem that someone has already come up with a workaround. Any ideas or pointers in the right direction would be much appreciated.
Best Regards, Lloyd Borrett.
Zen Cart 1.3.5, PHP 5.2.5, MySQL 4.1.22
CSS Flyout Category Menu 1.3b, Time Zone Offset 1.3.5, Zen Lightbox 1.3, Image Handler 2.0, SiteMapXML 2.1, NAB Gateway, Australia Post 3.02, Printable Pricelist 1.1.1, Return Authorization 2.0.1, + many more
Bookmarks