Featured Image on Homepage/Thumnails
-
My wordpress images are set as follows under WPAdminDashboard>Settings>Media>
Thumbnail: 287×191
Medium Size: 730×487
Large Size: 1024In all of my recipes posts I have sized the “featured images” properly sized to 730×487 so that there is no CSS/HTML resizing that needs to be done when loading the page…making the site load faster.
However on the homepage instead of the 287×191 properly sized thumbnail images showing for 9 total recipes…instead the 730×487 images are being loaded…causing them to need to be sized down to 287×191 with CSS/HTML. This seems uneccessary given that the properly sized thumbnail images already exist. It also make the site load slower and use more bandwidth.
I have set the thumbnails and “regenerated” all thumbnails with a plugin to make sure they all exist at 287×191….but again they aren’t being loaded.
Why is my theme (Lucid-Themes.com Cuisine) not showing the thumbnails next to the 9 featured recipes. (its loading the 730×487 and sizing down to 287×191). Why doesn’t it just serve the thumbnail images save time?
How can I fix that?
*****************EDIT*************
After some digging it would appear my theme does not utilize the SRCSET attribute to make sure the thumbnail image sizes load on the homepage. Instead its just loading the 730×487 medium size and using CSS/HTML to size it down.what exactly is responsible for inserting the srcset attribute into the
tag?
Is there a way I can tackle this myself to make sure my thumbnail images load vs the medium size images?
- This topic was modified 4 years, 4 months ago by .
- This topic was modified 4 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Featured Image on Homepage/Thumnails’ is closed to new replies.