I wanted to follow up since 2.0.2 was released. I still have issues with cropped images and I want to bring this up since it looks like the cropping bug might have been worked on.
How it should look: https://i.imgur.com/OQ6GF.png
How it looks with Photon on: https://i.imgur.com/vc8hH.png
It’s almost there! Here’s what the issue is…
Post thumbnails where I crop ALL image sizes are appearing correctly (which coincidentally is the case for the first article in the middle). Normally I don’t do this, so it’s kind of odd that happened to be a case here. But we can work with this info!
However when I crop just the THUMBNAIL size, what it’s loading is a scaled version of the uncropped image. So the scaling is working perfectly now, it’s just not applying the crop quite right.
For reference here’s what my HTML looks like:
Correct thumbnail (where I cropped all image sizes)
Photon on:
<img src="https://i1.wp.com/www.sixprizes.com/wp-content/uploads/2012/11/800px-Dawn_Piplup-e1353520156848.png?fit=125%2C125" class="attachment-125x125 wp-post-image" alt="800px-Dawn_Piplup" title="The Marvelous Misadventures of Empoleon / Accelgor at Santiago Regionals">
Photon off:
<img width="125" height="125" src="https://www.sixprizes.com/wp-content/uploads/2012/11/800px-Dawn_Piplup-e1353520156848-125x125.png" class="attachment-125x125 wp-post-image" alt="800px-Dawn_Piplup" title="The Marvelous Misadventures of Empoleon / Accelgor at Santiago Regionals">
Incorrect thumbnail (where I cropped only the thumbnail size)
Photon on:
<img src="https://i2.wp.com/www.sixprizes.com/wp-content/uploads/2012/11/star-wars-empire-strikes-back.jpg?fit=125%2C125" class="attachment-125x125 wp-post-image" alt="star wars empire strikes back" title="The Empire Strikes Back! A Norwegian Regionals Report">
Photon off:
<img width="125" height="125" src="https://www.sixprizes.com/wp-content/uploads/2012/11/star-wars-empire-strikes-back-e1353514976709-125x125.jpg" class="attachment-125x125 wp-post-image" alt="star wars empire strikes back" title="The Empire Strikes Back! A Norwegian Regionals Report">
And the post thumbnails are still being generated with this:
global $post;
$size = array(125,125); // $size = array(100,100); in sidebars
$attr = array( 'title' => get_the_title( $post->ID ) );
get_the_post_thumbnail( $post->ID, $size, $attr );
I’m going to revert this back to “not resolved” if that’s ok, just so everyone knows there’s still a bug. Thank you for your efforts with Photon, it’s shaping up to be a really great feature!