AMP – Defer/Properly Size Images

Posted in: Newspaper
Post count: 33

Hi

When I run PageSpeed on any page on my website, I get the suggestions to “Defer offscreen images”, and “Properly size images” for the mobile page.

For example on this page

I have activated the relevant thumbnail sizes and regenerated all thumbnails, so I’d assume these should be used?

I thought AMP automatically deferred images too? Does the fact that they are part of a slider have something to do with them not being deferred?

Note I have tried this with all caching disabled so it’s not related to that.

Could you please advise.

Thanks,
Paul

Post count: 33

Edit: It appears that the “Regenerate Thumbnails” plugin didn’t recognise the two mobile thumbnail sizes as registered image sizes. I uninstalled and reinstalled the plugin and now it’s generating the thumbnails. So my only issue now is the one around the deferred loadin of images.

Post count: 33

Further update. Despite the “Regenerate Thumbnails” plugin, appearing to recongise the two sizes, it’s creating thumbnails called:

ppec_logo_image_size
ppec_header_image_size

rather than

td_265x198
td_741x486

Are the top ppec ones TagDiv thumbnails?

Post count: 21065

Hello!

Those ppec ones are not from our theme.
Please check our documentation to be sure you installed the correct plugin: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/

Thank you!

Post count: 33

Hi Bettina

Very odd. I am using the “Regenerate Thumbnails” plugin in the link. Not sure why it wouldn’t be regenerating those two despite recognising the sizes.

Paul

Post count: 21065

Hello!

Please start looking for a plugin conflict, deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Hope that helps you!

Thank you!

Post count: 33

Hi Bettina

I think it is something from the theme’s end not registering those two AMP td_265x198,
td_741x486 sizes properly. I removed all thumbnails from my server, deactivated all plugins except for tagdiv ones, toggled the option for those sizes to be active off and on again, and tried a few different thumbnail regeneration plugins. In all instances they didn’t generate for those two sizes despite them showing up as registered sizes, and in the instance of the “Regenerate Thumbnails” plugin, it generates ppec_logo_image_size and ppec_header_image_size instead (the other plugins don’t generate these two).

Post count: 33

As for the defer issue, I think this must have something to do with the slider. On the AMP home and category pages I don’t get the issue, just posts where the AMP slider appears.

Post count: 21065

Hello!

Please send an email at contact@tagdiv.com and provide wp-admin, so we can investigate this issue. Also paste a link to this topic so we can easily identify you.
Let us know and we will gladly assist you.

Thanks!

Post count: 33

Sent thanks Bettina. I’ve combined it with the other two e-mail queries to keep it all together.

Post count: 29

Hi @thecitylane, it seems that I’m having the same issue with those 2 mobile sizes not being registered as well. Were you able to solve the issue on your end?

Best,
Oz

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.