WordPress.org

Support

Support » Plugins and Hacks » Testimonials Widget » [Resolved] Strange Image re-sizing issue.

[Resolved] Strange Image re-sizing issue.

  • I am trying to re-size my client thumbnail images because when I re-sized a few of them on other a different page they became bury.

    so,

    I first changed the:

    $display .= ‘<div class=”photo”>’.get_the_post_thumbnail($testimonial->ID, array(100, 100)).'</div>’;

    to

    (160,160)

    and it changed the size, but the hard crop no longer works after that so i changed it to (auto, auto)

    the crop looks great and the images are clear…. EXCEPT FOR ONE STUPID IMAGE.

    when I inspect the element I realize that it is 25px because of the hard code

    <img class=”attachment-autoxauto wp-post-image “width=”25″ height=”25”
    src=”…img-e1376493327983-25×25.jpg

    and all the other images are

    <img class=”attachment-autoxauto wp-post-image “width=”150″ height=”150”
    src=”IMG_8803-150×150.jpg

    How can I eliminate this hard code?

    Please and thank you’s all around

    http://wordpress.org/plugins/testimonials-widget/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Strange Image re-sizing issue.’ is closed to new replies.
Skip to toolbar