Photon Not Resizing Featured Image/Post Thumbnail
-
Photon isn’t resizing my featured images.
Before:
Image HTML:
<img width="125" height="125" src="https://www.sixprizes.com/wp-content/uploads/2012/11/season3_ep6_ss3-pikachus-e1352426241464-125x125.jpg" class="attachment-125x125 wp-post-image" alt="season3_ep6_ss3 pikachus" title="Mastering Marathons">
After:
Image HTML:
<img src="https://i2.wp.com/www.sixprizes.com/wp-content/uploads/2012/11/season3_ep6_ss3-pikachus.jpg?fit=%2C" class="attachment-125x125 wp-post-image" alt="season3_ep6_ss3 pikachus" title="Mastering Marathons">
Thumbnail 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 );
Any ideas why it’s not working? Photon seems incredible and I’d really like to use it!
- The topic ‘Photon Not Resizing Featured Image/Post Thumbnail’ is closed to new replies.