• Resolved jmetz09

    (@jmetz09)


    I was wondering if there was a way to ensure that the image displayed next to the testimonial is using its full height and width. It appears that the displayed image is cut to only be a 100px wide maximum. I didn’t know if there was a setting I missed that would allow me to specify image dimensions or specify to use the full image.

    https://www.ads-software.com/plugins/strong-testimonials/

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

    (@jmetz09)

    update: I found that I was able to go into the widget.php file of the plugin and make the following change to get it to work.

    if ( isset( $data[‘images’] ) && $data[‘images’] && $post->thumbnail_id )
    echo ‘<div class=”photo”>’ . get_the_post_thumbnail( $post->ID, array( 75, 75 ) ) . ‘</div>’;

    changed to

    if ( isset( $data[‘images’] ) && $data[‘images’] && $post->thumbnail_id )
    echo ‘<div class=”photo”>’ . get_the_post_thumbnail( $post->ID ) . ‘</div>’;

    I am curious to find out if this change will be overwritten when the plugin is updated?

    Plugin Contributor Chris Dillon

    (@cdillon27)

    Yes, your changes will be overwritten.

    The [strong] shortcode uses the “Crop thumbnail” setting in admin > Settings > Media.

    The next update in a few weeks will offer more image sizing options in both the shortcode and the widget.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘using larger image’ is closed to new replies.