Wrong resolution being rendered
-
Hi, so the problem I’m currently encountering is that I have a list of posts to display, using wp’s built in query loop block, for which I want to use a
Mediumresolution version of their featured image, which I already ensured gets generated correctly when I upload media files to my WordPress site. The problem is that, despite the editor showing theMediumresolution as the selected value for my featured post image resolution, the public site is displaying the full-sized image.
I’ve investigated, and I see that my image is being generated with the right asset for itssrcattribute:src="https://site.com/it/wp-content/uploads/image-500x283.jpg", but then asrcsetattribute is also generated for it, which also includes higher resolution versions for the same image to show on larger viewports, which is an unwanted behaviour as I’m always sure the image will never be shown in blocks larger than a given amount of pixels. Is this a behaviour built into the theme, or should I look for support elsewhere?
The topic ‘Wrong resolution being rendered’ is closed to new replies.
