Support » Plugin: GC Testimonials » Image size on testimonial page

  • Resolved chill986


    Is there an easy way to use the medium sized image on the testimonials page instead of a thumbnail? They are far too small to draw any kind of interest for the kind of site we have.

    Also, the widget images are cropped to 75×75 cutting off the heads of some of our testimonial submitters – not good at all.

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 ‘Image size on testimonial page’ is closed to new replies.