wp_get_attachment_image_srcset breaking old images
-
I am using Jetpack / Photon and with the 4.4 upgrade and the introduction of the srcset, I am finding some old images on archived stories being broken.
Here is an example:
https://www.metalinjection.net/lists/top-10-crimes-committed-black-metal-musiciansYou will notice the main image is broken. When I look at the source code, the srcset tag points to https://i0.wp.com/www.metalinjection.net/wp-content/uploads//home/metali5/public_html/wp-content/uploads/2011/02/black-metal-history-month.jpg?resize=285%2C155
You’ll notice after “uploads” it starts inserting the absolute path for some reason, thus breaking the image.
Any idea on how this could be disabled?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_get_attachment_image_srcset breaking old images’ is closed to new replies.