Issue with crop position
-
Hi there,
I’m having some issues with generating the correct retina version of one of the following custom image sizes:
add_image_size('portrait-lg', 946, 260, array('left', 'top') ); // desktop add_image_size('portrait-md', 768, 220, array('left', 'top') ); // tablets add_image_size('portrait-sm', 480, 220, array('left', 'top') ); // mobile
According to the WordPress codex, I can add a crop position from which point the image should be cropped in the add_image_size function.
The weird thing is, only the Retina version of the
portrait-sm
size doesn’t get cropped horizontally from the right, but is cropped from the center? The other 2 sizes arre cropped correctly from the right, both the normal as well as the retina versions?I tried deleting all the @2x versions, regenerated all my images again, nothing works.
Think this could be some sort of bug maybe?The only workaround for now, is to manually replace the retina images that are not correctly cropped.
Thanks!
- The topic ‘Issue with crop position’ is closed to new replies.