Photon is incorrectly resizing full-size images in pages
-
When I enable Photon, all of the full-size images in one of my pages end up like this:
<img class="size-full wp-image-1088" title="North Light Images" src="https://i0.wp.com/www.dylanmccall.com/wp-content/uploads/northlightimages.jpg?resize=640%2C399" alt="">
As you can see, the image is incorrectly resized and the img tag is missing its width and height attributes (which can result in jarring layout changes when the page loads).
When I disable Photon, these images are served correctly at their native size, and with the width and height attributes filled:
<img class="size-full wp-image-1088" title="North Light Images" src="https://www.dylanmccall.com/wp-content/uploads/northlightimages.jpg" alt="" width="706" height="440">
In posts, full-size images _also_ have a resize parameter in the URL, but in their case the size is correct so the image doesn’t get squished.
Has anyone else encountered this? Any idea what’s going wrong?
- The topic ‘Photon is incorrectly resizing full-size images in pages’ is closed to new replies.