Multple dimenstion for featured image on mobile page but preload for single img

Posted in: Newspaper
Post count: 26

Hello,

I noticed that with Permatters I get preload only for image dimension 696×392
On some mobile devices image is used in size 1200×675.webp

Any suggestion how to preload image based of used size or how to define fixed size for mobile template?

Problem is with LCP

Thank you

Post count: 21065

Hello!

Optimize Images: Compress images before uploading them to your WordPress site. You can use plugins like WP Smush or EWWW Image Optimizer to automatically optimize images without losing quality.

Thank you!

Post count: 26

Hello,

This is not an issue of image optimization

Here is code from mobile theme:

https://ibb.co/56j3p7J

Only image width=”696″ height=”392″ is preloaded.

I don’t know why multiple images sizes are used on mobile theme.
Can that be changed in theme panel? I mean can I define that only one image size is used for mobile theme for featured image.

Thank you

  • This reply was modified 2 years by croboy.
  • This reply was modified 2 years by croboy.
Post count: 21065

Hello!

Check this guide: https://forum.tagdiv.com/thumbs-on-modules-and-blocks/
If you deactivate a dimension from there, next time when you will upload an image, it will not be resized to that dimension.
After changing the thumbnail sizes you need to regenerate your thumbnails using a plugin. Check this: https://forum.tagdiv.com/using-the-theme-with-existing-content/
NOTE: If the thumb specific for that block is not enabled, then the image won’t be displayed.
NOTE: The Mobile theme layout is not customizable as the responsive version or mobile pages. Please see https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/ for more information.

Thank you!

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