Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1347593

    Hi,
    I would greatly appreciate some solid advice on how to delete several thousand unused/unpublished photographs from my primary Media Library. I have tried the “bulk” function but it takes too long time.

    Is there a plugin you recommend or can I use dates in the FTP structure to locate and delete them?

    Kindly,
    Joakim

    #1347656

    Hey joakimraboff,
    Thank you for your question, I have not tried any bulk delete plugins, so you will need to give them a try, but I do know that you can’t just delete them via FTP because that doesn’t remove them from the database.

    Best regards,
    Mike

    #1347657

    Hey Joakim,

    Thank you for the inquiry.

    You may need to unregister some thumbnails and regenerate the images in the library as suggested in these threads.

    // https://kriesi.at/support/topic/enfold-image-sizes-3/#post-1109028
    // https://kriesi.at/support/topic/how-can-i-delete-all-enfold-image-sizes/

    This article should help.

    // https://wpengine.com/resources/wordpress-media-library-clean-up/

    Best regards,
    Ismael

    #1347670

    Hi Ismael,
    Is there a way I can just bulk delete more than 50 images at a time via the normal Media Library WP interface procedure and without using a third-party plugin? I have several thousand images and it takes way too long to keep having to press “load more” in order to delete them. There should be a way to delete by highlighting more than just 50 at a time…no?
    Kindly,
    Joakim

    #1347686

    Hi Again,

    This problem is due to WordPress totally sucky Media Library database management tool.

    Despite giving me the option to (theoretically) delete as many images as I want (thousands even), in reality, the database won’t actually allow me to delete more than a few images at a time. It’s ridiculous.

    I’ve tried this dozens of times now and I really need some solid advice, not forum discussions or plugin suggestions. What is the workaround this clearly broken tool?

    There just has to be tens of thousands of WordPress users that have had similar experiences with a seemingly uncontrollable swelling Media Library.

    Please help!

    I will gladly give access to my two sites.

    Kindly,
    Joakim

    #1347783

    Hi,
    In re-reading your feedback above you say that you can’t select more than 50 images at a time, so perhaps you didn’t know that you can change this number to 999 by changing the view media library to “line details” and clicking the Screen Options button (top right) and changing the number of items per page to 999
    2022-04-09_002.jpg
    Originally I had thought that your issue was that you were deleting so many images at once that your media library was taking a long time to process, unfortunately for this we can not change how the WordPress media library performs.
    To overcome the weak media library management options we do need to suggest additional plugins because that is what they were created for, for example, to remove all of the files not used on your website many recommend Media Cleaner, you can read this article here.
    The media library is a core WordPress function and themes such as Enfold build on top of the core functions, but we don’t replace them. Typically plugins enhance core functions, I hope this makes sense and helps.

    Best regards,
    Mike

    #1347841

    Hi Mike,

    I think you’ve misunderstood the issue here. It’s not that I can’t checked xx amount of images and try to delele them. It’s that in actuality, the tool still only deletes a maximum of 20 images at a time, no matter if I’ve 200 or 3000.

    This seems very wrong but I can’t figure out where to change it to a higher number.

    Kindly,
    Joakim

    #1347843

    Hi,
    Thanks for the feedback, I tested this on my test site by uploading 400 images and then I followed the steps above to select all 400 images and delete them, which was successful in about 30 seconds.
    The only plugin I had active was WooCommerce and this is my WordPress ▸ Tools ▸ Site Health ▸ Info ▸ Server
    2022-04-10_001.jpg
    please compare to yours, perhaps your PHP time limit or something else is set really low?
    Try disabling your plugins, perhaps something is conflicting?

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.