Image Resize, Crop, and Rotation Problems with Photon
-
Hi,
I’m experiencing a number of bugs with photon for jetpack. They are:
1) Some photos that display in the correct orientation on my site when jetpack is not enabled do not display in the correct orientation when jetpack is enabled. I believe this has to do with an EXIF rotation-related bug. I can work around this issue by “cleaning” my JPEGs before uploading. (I hadn’t been… but since my site is new this isn’t much of a problem).
2) Jetpack’s override of WordPress’ default cropping is a real problem. I have WordPress setup (using the add_image_resize() function, as per https://developer.wordpress.org/reference/functions/add_image_size/) to crop my images “top, center” — I often add text on my images and a “center, center” crop just doesn’t work for me. Why can’t photon just cache the thumbnails I’m already serving? Or at least start with those thumbnails when regenerating differently-sized images. WordPress is cropping them them cropped.
3) This last issue is a little harder. My theme resizes images to fit 100% on the page if they are at least as large as the page and they are not aligned to either the left or right (they are “aligned none” when I insert them). For some reason Photon is serving up an image cropped to 768pixels wide, when my available space on the page is larger than this. I cannot figure out why this is happening but when I disable photon, the pictures served up are full-size.
It’s also worth noting that one of the reasons I upload oversized images is so that they will look even better on retina laptop displays. Apparently photon doesn’t respect retina-readiness when it comes to images, preferring to crop the image to exactly the size in pixels it thinks should be displayed.
I’m going to keep plugging away because I certainly think the concept of a low-cost way to distribute image serving is a great idea… but this is definitely lacking from where it needs to be to be really good.
You can see my page at http://www.packingforseven.com – but for now I have photon disabled because it’s screwing up too many displays.
Thanks for all your hard work on the plugin though. Don’t mean to sound ungrateful. WordPress is amazing and I really do enjoy the other features of Jetpack.
Fred
- The topic ‘Image Resize, Crop, and Rotation Problems with Photon’ is closed to new replies.