-
AuthorPosts
-
May 28, 2016 at 9:20 am #639691
i would like to use the testimonials image to insert the logo of customers.
Via css i can get rid of box radius and size dimensions but it is allways croped!
on avia-shortcodes in testimonials.php i see that there are image filters for that testimonial image (avatar size filters)
is it possible to get rid of that cropping?
Even if i goto wordpress media options and change thumbnail size to not crop to (80×80) in testimonials the image is cropped.When i set in testimonials.php:
//avatar size filter $avatar_size = apply_filters('avf_testimonials_avatar_size', $src, $class);
so the ‘square’ filter is gone the images are still cropped to 180px
Thanks
- This topic was modified 8 years, 7 months ago by Guenni007.
May 28, 2016 at 9:30 am #639693Hi Guenter!
What we have suggested previously is to use this plugin:
https://wordpress.org/plugins/simple-image-sizes/Look for the square thumbnail size.
Adjust the width and height then set the crop parameter to No. Update then save changes. Regenerate the thumbnails or upload them again.Cheers!
BasilisMay 28, 2016 at 9:36 am #639696i did upload the images after i changed the testimonial.php and after setting up wordpress to not cropping the thumbnail size.
i will try your advice now.
- This reply was modified 8 years, 7 months ago by Guenni007.
May 28, 2016 at 9:39 am #639701you see above that kurzen and reinhold are in non square dimensions allready.
but what do you think about my suggestion not to use the square option on testimonial images?
- This reply was modified 8 years, 7 months ago by Guenni007.
May 30, 2016 at 1:01 pm #640307Hi,
You can request such feature here – https://kriesi.at/support/enfold-feature-requests/ but since testimonials element is used to display portraits, i believe it is the best to keep them square :)
Best regards,
YigitMay 31, 2016 at 9:26 am #640761you see in the link above that i managed it in a different way. The thing is that i can’t understand where the square and limitation comes from.
i thought that it comes from here – because square is defined as the 180px square image ://avatar size filter $avatar_size = apply_filters('avf_testimonials_avatar_size', 'square', $src, $class);
from testimonial.php – but remove it has no effect on size limitation of 180px
can be closed – so i let me die stupid :wink
- This reply was modified 8 years, 7 months ago by Guenni007.
-
AuthorPosts
- The topic ‘get rid of cropping in testimonial images’ is closed to new replies.