Tagged: "our work"; thumbnail
September 19, 2017 at 7:26 am #53707Mario PinhoParticipant
The page I’m working on, the “Our work” section thumbnails used don’t look good because the template uses a 275×175 image that is expanded resulting in a blurred image.
Can I change the thumbnail image so that its size is the same or at least reduced so the images are sharp?
Refer to this page:
http://www.appy.co.ao/wp/#workSeptember 20, 2017 at 6:59 am #53798wensolutionsKeymaster
The work section crops the image . So if you want to display the full image size you have to activate the child theme .
You can even activate the child theme using the plugin given below :
After activating the child theme in your child theme create the folder sections . Then create the file section-work.php inside the folder sections. Finally paste below given code in your section-work.php file .
Hope this helps .
Best Regards!!September 21, 2017 at 4:59 am #53865Mario PinhoParticipant
Hi, my issue is not with the cropping. The cropping is fine.
The issue is the image being resized to a bigger size than its original size so it blurs to avoid pixelation.
In the page I sent, the images are all 275×175 (http://www.appy.co.ao/wp/wp-content/uploads/2017/08/Banner-RECOLHA-275×175.jpg) but they are resized to around 360×229, thats 30% the original which is a lot.
Browsing the files I see there are many more different thumbnail sizes including 360×270. How can these be used instead?September 22, 2017 at 12:48 am #53918wensolutionsKeymaster
Yes we do understand the issue that you are trying to explain, and actually the code we have provided works for the resolution of the issue itself.
The theme has registered different range of image sizes that is used in the theme in different places, With the layout you have selected for the Work section the default “business-page-plus-work” image size pulls smaller image size, hence making it blurry.
To resolve the issue you can try using the code we have provided that will; pull the “full” size image for the section and resolve the blur issue.
You can also replace the “full” parameter in the
wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );function in Line : 162 of the code we have provided to any registered image size in the theme of your choice.
If you have any queries further, please feel free to write back to us.
Hope this Helps,
Best Regards !!July 13, 2022 at 4:08 am #183947michaelwadeParticipant
Thanks I’m Looking Exact same thing.
- You must be logged in to reply to this topic.