Support » Plugins and Hacks » [Resolved] Image size on testimonial page

[Resolved] Image size on testimonial page

Viewing 7 replies - 1 through 7 (of 7 total)
  • Nevermind, I found the code and changed from array(75,75) to ‘thumbnail’ and array(100,100) to ‘medium’.


    Exactly what lines of code did you change to make the thumbnails appear larger on the testimonials page? Thanks in advance for the help. We’ve had the same issue.

    mavs-fan, find “get_the_post_thumbnail” in testimonials-new.php. There will be two occurrences. One will have array(100, 100) as a parameter (around line 326), and the other will have array(75, 75) (around line 747). I changed the first to ‘medium’ and the second to ‘thumbnail’.
    // $display .= '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, array(100, 100)).'</div>';
    $display .= '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, 'medium').'</div>';

    // echo '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, array(75, 75)).'</div>';
    echo '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, 'thumbnail').'</div>';

    let me know if that works for you.

    tnx chill986, this worked out for me too.

    Glad to help!

    I tryed both solutions. they don’t work for me. Any other idea?

    Make sure you don’t try one or the other – make sure you change both.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Image size on testimonial page’ is closed to new replies.