• Hi!

    I recently changed the name of my upload folder. When I scan with Cleanup Images, I actually get to see that all my pics that are in drafts and not in yet published posts are not in use. The URL of every single picture listed shows the old name of the upload folder. Is there a way to tell the plugin that the upload folder got renamed?

    I’m also using shortcodes which means that lots of pictures are not integrated with <img src=”…”> but with it’s wp-image id (like “1234”). Is the plugin able to recognize this?

    Thank you!

    https://www.ads-software.com/plugins/cleanup-images/

Viewing 1 replies (of 1 total)
  • Plugin Author delwinv

    (@delwinv)

    Hi, sorry for the long wait for a response!

    The plugin determines the upload folder using WordPress’ wp_upload_dir() function, so any change to this dir performed in a standard WordPress manner is supposed to be taken into account. Can you tell me how you changed the upload directory? I can take a look and see why wp_upload_dir() might not be seeing it properly.

    As for shortcodes and specifically image ids, this plugin does not search for images and their usage based on id. This would be a trouble-prone thing to do since the id would have to be searched within text that could contain those numbers naturally and the plugin cannot know of every sort of shortcode possibly added by other plugins. Unfortunately this means that usage of shortcodes within posts and pages is not supported and the image would be seen as unused.

    Hope that helps and sorry I can’t be of better help.
    Delwin.

Viewing 1 replies (of 1 total)
  • The topic ‘Use after changing upload folder, having pics in drafts and using shortcodes’ is closed to new replies.