Home Forums Support TBTestimonials Gravitar size problem on testimonial page

Gravitar size problem on testimonial page

This topic is: resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  comparetest 10 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
April 7, 2013 at 11:25 pm #716

comparetest
Participant
Post count: 2

Hi! Thx for awesome and greatly customisable plugin!

I was able to customize it for our site needs without much troubles except for this last piece.

I noticed that on /testimonials/ and /testimonial-category/categoryname/ pages the image source file has the original size, later customized with CSS. Yet on /testimonial/testimonialname/ page it uses thumbnail version of the original file as a source image, and when I set it to 100% width the outcome is blurry.

So the question is, where in plugin code do I change the source image for a /testimonial/testimonialname/ page? I need it to be the same as on /testimonials/ and /testimonial-category/categoryname/ pages.

In case you need to know, I left the “Gravatar Size” field empty in General Settings.

Below are the links to actual site pages:

/testimonials/

/testimonial-category/categoryname/

/testimonial/testimonialname/

Thanks in advance, Alexander.

April 8, 2013 at 3:51 pm #717

Travis Ballard
Keymaster
Post count: 34

Do you have a single-testimonial.php in your template? The output would be handled by that. It appears you may just be using the_post_thumbnail() without a size attribute passed to it and because of that it’s showing the large version of the image instead of the thumbnail like it should be.  The default image size for thumbnails controlled by the ‘Gravatar Size’ setting is “tbtestimonial_thumbnail” but you can use any image size you have registered with add_image_size()

Hope that helps,
Travis

April 14, 2013 at 8:09 pm #719

comparetest
Participant
Post count: 2

Hi Travis, thanks for replying to my message!

I don’t see single-testimonial.php anywhere in my templates files.

After reading your reply, I think I need to explain my problem in more detail.

For example:

First testimonial on /testimonials/ page uses http://www.kettlebellsdvd.com/wp-content/uploads/2012/02/alexs-fight-118.gif as a source file fore gravitar.

Yet on individual testimonial page /testimonial/testimonialname/ plugin uses http://www.kettlebellsdvd.com/wp-content/uploads/2012/02/alexs-fight-118-150×150.gif as a source file fore gravitar. Needless to say that at my desired full-page width the outcome image looks blurry to say the least.

I don’t know where the -150×150.gif version came from.

So ideally I want these two switch their source files: I want to show small 150px wide thumbnails (like http://www.kettlebellsdvd.com/wp-content/uploads/2012/02/alexs-fight-118-150×150.gif) on the /testimonials/ page, and I want to show a large full-sized (http://www.kettlebellsdvd.com/wp-content/uploads/2012/02/alexs-fight-118.gif) image on single testimonial page /testimonial/testimonialname/.

If there is only a solution to use large full-sized (http://www.kettlebellsdvd.com/wp-content/uploads/2012/02/alexs-fight-118.gif) image on single testimonial page /testimonial/testimonialname/ that will do too.

 

Thanks in advance, Alexander.

 

April 20, 2013 at 3:15 am #727

comparetest
Participant
Post count: 2

I end up creating testimonial.php and it took care of the problem! Thx

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘TBTestimonials’ is closed to new topics and replies.