• We migrated from Drupal to wordpress back in July. Our site has been working great. Been keeping up to date with releases. Just bumped up to 4.4 and we have a number places on the site where we have broken images. It seems to be exposed by the responsive design changes made in wp_calculate_image_srcset. We end up with bad URL’s in the srcset. Our image URL’s are in wp_postmeta as /home2/{my directory}/public_html/wordpress//wp-content/uploads/winter2014/{imagename}.jpg. Note that we used a non-standard upload subdirectory. WP would have made that a year/month. But, this worked until 4.4

    Now, these images do not show up. I could SQL sweep through the _wp_attached_file fields in wp_postmeta and simply snip off the offensive part. Unfortunately, I also have to clip it in the _wp_attachment_metadata field as well. The complexity here is that I have to adjust the length value that precedes the file name.

    Any plug-ins out there that people can point me to? Or, an alternative solution to rebuild all the _wp_attachment_metadata values?

    If you need a specific example, I’ll be glad to message back with a URL to our site that demo’s the brokeness.

  • The topic ‘I had broken images, but 4.4 exposed them’ is closed to new replies.