Tagged: media library
-
AuthorPosts
-
April 7, 2022 at 4:49 pm #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,
JoakimApril 8, 2022 at 4:16 am #1347656Hey 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,
MikeApril 8, 2022 at 4:17 am #1347657Hey 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,
IsmaelApril 8, 2022 at 7:44 am #1347670Hi 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,
JoakimApril 8, 2022 at 10:30 am #1347686Hi 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,
JoakimApril 9, 2022 at 2:47 pm #1347783Hi,
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
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,
MikeApril 10, 2022 at 10:14 am #1347841Hi 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,
JoakimApril 10, 2022 at 1:39 pm #1347843Hi,
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
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 -
AuthorPosts
- You must be logged in to reply to this topic.