Retina Image Not Generating for Images with Only Width Defined
-
Hi. I have a number of image sizes defined. Here is the full set as displayed in the WP Retina settings page (http://cl.ly/image/2t2O463c2d1T).
There are 3 different image types (normal, square, wide). The normal ones only have the width defined and the height simply adjusts proportional. The definition for this is
add_image_size('small', 400)
for example. The height shows as ‘0’ in WP Retina because it’s undefined. WordPress expects it to be defined this way.WP Retina will not generate a retina friendly image though for these images with height not set. So, for example, if I have a source image with size 1600×800 and my image size is defined as Small (400×0) and Medium (800×0) it will create the 2x version of small, but not medium, even though I’m uploading an image with 1600px wide source.
It is almost like it’s checking to see if the smallest of the two dimensions is available.
Any ideas?
- The topic ‘Retina Image Not Generating for Images with Only Width Defined’ is closed to new replies.