Home › Forums › Gillion Theme › Quality images
Home › Forums › Gillion Theme › Quality images
I don’t understand because in some blocks shows the images like this
Losing quality, and not like this, with original name and noy resize it:
If you put a width and height at img tag, is not necessary put a resize image because it’s a bad quality image
it’s possible fix it?
Thanks.
My test:
Hi @msymphony,
I hope you are well today and thank you for your question.
Please try regenerating thumbnails on your site using the below plugin.
https://wordpress.org/plugins/force-regenerate-thumbnails/
Best regards,
Shufflehound team
is not working
appears again <img src………..-465×250.jpg” width=465 height=260
I need
<img src…………jpg” width=465 height=260
thanks
testing
Have you just installed the above plugin or also regenerated thumbnails?
The following code in the theme resizes the images so you have to overwrite this in Gillion child theme using below code.
set_post_thumbnail_size( 585, 372, true ); add_image_size( 'gillion-portrait', 372, 484, true ); add_image_size( 'gillion-square', 585, 585, true ); add_image_size( 'gillion-square-small', 220, 220, true ); add_image_size( 'gillion-square-micro', 80, 80, true ); add_image_size( 'gillion-square-micro-landscape', 110, 147, true ); add_image_size( 'gillion-landscape-small', 420, 265, true ); add_image_size( 'gillion-landscape-large', 1200, 675, true ); add_image_size( 'gillion-masonry', 585, 1170, false );
You can refer the below topics to achieve this.
https://support.shufflehound.com/forums/topic/display-original-image/#post-17063
https://support.shufflehound.com/forums/topic/correct-featured-image-size/
“installed the above plugin or also regenerated thumbnails”
both cases and not working..
which file i have to overwrite?
Thanks.
Which image are you talking about between the attached screenshots?
screen 3 it’s ok
27 not ok
You can resolve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.sh-widget-posts-slider-item-large .post-thumbnail img { width: 420px; min-width: 1px; }