Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default how to delete the images not in use ?

    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.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: how to delete the images not in use ?

    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.

  3. #3
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Re: how to delete the images not in use ?

    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 !

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how to delete the images not in use ?

    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 ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    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!

 

 

Similar Threads

  1. Replies: 6
    Last Post: 22 Dec 2016, 05:49 AM
  2. How not to delete the text message when reCAPTCHA is incorrect?
    By DML73 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 17 Dec 2011, 12:25 AM
  3. Delete products/categories BUT not the images?
    By omerhanif in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 2 Feb 2010, 07:25 PM
  4. Missing images or how to delete them
    By southernlady in forum Basic Configuration
    Replies: 2
    Last Post: 22 Oct 2009, 05:28 PM
  5. How do I use two images of the same product ?
    By fedrew in forum General Questions
    Replies: 7
    Last Post: 10 Feb 2009, 06:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR