[Resolved] [Plugin: WP Retina 2x] Plugin Creating Out of Proportion @2x Images
Here is an interesting thing I just noticed with the plugin, it’s a little wordy hopefully I don’t lose you……
My theme for the Featured Image in a post and the main page slide show uses an image 640×250. WordPress on upload creates this sized image. Most times I’m creating an image in photoshop that is 1280×500, so the proportions stay the same and wordpress doesn’t have to crop anything only scale. SO now I have an original image that is 1024×576, wordpress crops the image to 640×250, but Retina 2X creates a @2x version that is 1024×500. THis leads to the image being out of proportion and then when the 2X image loads it cause the image to change size vertically. It seem the plugin when building images isn’t taking height into account and is only taking width, as from my original it had the width to generate an image the correct size but not the height.
So to sum up, is it possible to have the plugin not generate images if there isn’t the correct height as well? I’d rather have a low res version load then have an image pop and cause a content shift. I can hard code the image css to be strict on the size however that leads to a squashed image.
- The topic ‘[Resolved] [Plugin: WP Retina 2x] Plugin Creating Out of Proportion @2x Images’ is closed to new replies.