• I am a bit at a loss here. Somehow, the wrong thumbnail is always getting pulled. I selected 250×250 in the settings as thumbnail size and I selected tptn_thumbnail (250×250) as the thumbnail. However, the plugin seems to be pulling the 500×500 thumbnail image, but it is displaying it at 250×250.

    Strangely enough, if I select 150×150 it pulls the 250×250 image and displays it at 150×150.

    If I select 175×250 it pulls 350×500 while displaying it at 175×250. If I put 350×500 it pulls 525×750 while displaying it at 350×500.

    Obviously, pulling the larger image costs extra bandwidth.

    I went into public/media.php and tested it all the way up to

        $output .= tptn_get_image_html( $postimage, $attr );

    When print_r($attr), it displays the correct size (250×250) but when doing print tptn_get_image_html( $postimage, $attr ); it displays the image in the wrong size. All the thumbnails exist in all their respective sizes.

    I also regenerated my thumbnails and it didn’t help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Weather_Reap_12

    (@joff19)

    I apologize, it might actually be that I don’t understand how responsive images works. When I resize the page to smaller, it will display the correct image (250×250) but now at a smaller size. I am also considering if the wrong image is being pulled at the wrong time because of padding or other css elements which are not being calculated correctly.

    But I must admit I am not very well informed on how responsive images function.

    Plugin Author Ajay

    (@ajay)

    Do you have your site URL I could check. Or alternatively, the full HTML of the image tag?

    Are you using the latest version of the plugin because I made a lot of changes to media including rewriting from scratch and it uses classes now and not public/media.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong thumbnail always being pulled’ is closed to new replies.