Support » Fixing WordPress » After thumbmail regenerate (bulk), how to regenerate tags in post

  • nicksmarto

    (@nicksmarto)


    Friends,

    I have changed themes recently, and after changing the Image Size setting in the Settings > Media page, I have used the Regenerate Thumbnails (v2.2.4) plugin to regenerate the images. This worked fine, and I’ve confirmed the new images exist.

    The problem I have is that all of the posts (and I have hundreds) still have their original HTML: (example)

    <a href="http://www.myblog.com/wp-content/uploads/2013/04/germany01.jpg"><img class="size-large wp-image-3310 aligncenter" src="http://www.myblog.com/wp-content/uploads/2013/04/germany01-600x450.jpg" alt="germany01" width="600" height="450" />

    In this case, 600px is the old size, and the new 700px images aren’t referenced in the post.

    I can’t seem to find a plugin to bulk regenerate the code for these images, and it’d be a nightmare to go do all of this by hand for hundreds of posts.

    There doesn’t seem to be a reliable Search and Replace strategy either, as there are many different aspect ratios and too much room for error.

    Anyone have a great idea?

Viewing 2 replies - 1 through 2 (of 2 total)
  • EMG

    (@emg)

    Hi there! 🙂

    By any chance have you looked into something like this?

    https://wordpress.org/plugins/velvet-blues-update-urls/

    It is supposed to help update your URLs after a settings change (usually site migration or some such) that affects the URLs.

    Disclaimer: I haven’t used it personally myself but but the Reviews are good and I’ve heard of people on the forums who have used the plugin successfully.

    nicksmarto

    (@nicksmarto)

    Thanks EMG. Unfortunately, the URL’s are image specific, there is no uniform pattern to do any sort of search and replace option. Thanks for the idea, though!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After thumbmail regenerate (bulk), how to regenerate tags in post’ is closed to new replies.