Site logo

Archived topic

Site Audit

18 replies · Started by Scott on February 16, 2021

Viewing posts 16–19 of 19

Could you create a test page with just a single Image Block on the page ? As i cannot see why the Height measurement is missing - to the best of my knowledge this only occurs if a an image has been resized either by setting one of the size fields or in some cases resized in the editor using the drag handles.

Hi David
I've created a test page with a single image - the issue does not exist.
I've also added a new image to existing pages where the error exists and they do have both Height and Width attributes.
Further, if I right-click on the problematic images and "Open image in new tab" and inspect, they also have both Height and Width attributes.
I thought maybe it could have something to do with Shortpixel image compression the new image had been compressed and it does not have the issue.

So it doesn't happen when you add new images?

It's possible that you had a plugin/function interfering when you originally added the problem images. These are static blocks, so once the HTML is inserted, it stays using that HTML.

What happens if you replace the problem image on the page?

Hi Tom
Correct, no issue with new images.
If I replace the problem image with the exact same image from the media library, the issue remains. If I replace it with any other image, even old ones from my media library, it fixes it.

This archived topic is closed to new replies.