Some images are left out …
-
Hello,
I have this weird problem i hope you can help me with.
I have some image sizes defined in my theme. But some of my images have smaller width or heights after being cropped to the defined image sizes.
Now, this makes a problem with WP Smush. since this image sizes have different names than the images sizes defined by the theme, WP Smush just skips over them and they don’t get optimized.for example:
in my theme i have:
add_image_size( ‘thumb-lg’, 750, 430, array( ‘center’, ‘center’ ) );My actual image size is:
900x405pxI end up with an image with this size:
750x405pxWich isn’t picked up by WP Smush Since this is not a defined image size.
What do you suggest?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Some images are left out …’ is closed to new replies.