Site logo

Archived topic

Disable resizing of featured image in GP 1.5

3 replies · Started by Jakub on November 9, 2017

Viewing posts 1–4 of 4

Hi,
today I updated to GP 1.5 which has new resizer for archive thumbnails (which is great) but also for posts featured image. Problem is, that all featured images I upload in same exact size. New resizer creates another file for example: "image-758x426.jpg" but my original "image.jpg" is already 758x426px, there is no point to duplicate that file.

Is there any option how to disable that? I tried put 0 in customizer and leave it blank, but is seems still creating some additional files.

Images shouldn't be touched by the resizer as long as the values are empty in Customize > Layout > Blog > Featured Images.

Do the single post featured image options have any values?

It's what I thought but field has placeholder "Automatic" and I was still seeing another sources in html. I tested it all over again and I found that only if image is larger there is generated smaller version in "srcset".

It confused me. I found that srcset resized images are handled by WordPress itself (right?), so it's not GP issue.

Thank you for help.

That's correct - srcset was introduced in WP 4.3 (I believe). It's a good thing, as it makes your images more responsive/increase performance :)

This archived topic is closed to new replies.