New Zenner
- Join Date:
- Mar 2005
- Posts:
- 30
- Plugin Contributions:
- 0
Post #1 by sospcshop
hi,
I have 100s of images that are not displayed in the store becouse are images of products that are obsolete.
how can I delete all those images ?
thanks.
Started by sospcshop on 25 Mar 2007, 12:21 PM · Views: 1,182
New Zenner
hi,
I have 100s of images that are not displayed in the store becouse are images of products that are obsolete.
how can I delete all those images ?
thanks.
Obaa-san
Use your FTP program to delete them from the server.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
New Zenner
the problem is that i do not know the images that are in use or not !
the process should be :
I read an image from site (/images) and if it is not in the db it must be deleted else go to the next image..!
is a code similar ?
thanks !
Oba-san
There isn't anything built in to check image names but it could be written ...
The safest method being to test image names against products, categories and manufactuers and then check the medium, large, additional and additional large ...
Move to another directory before deleting ...
While this code does not exist at this time, yes it could be customized to analys all of those image filenames for you and figure out what you can get rid of and do it automatically or move to a separate directory for review etc.
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Tell staff why this post should be reviewed.