Tagged: grid layout, image, slide
Grid layout.
How to resize thumbnails of grid layout? Need to make sure that the images are not cropped?
I will try to more clearly display the screenshot…
URL: https://www.ulovanet.ru/category/rybalka-video/
https://www.ulovanet.ru/tag/video/
Hey Konstantin,
I’m getting this on the url you gave:
Error 522
Connection timed out
Are you using masonry or maybe portfolio grid?
Best regards,
Nikko
Out of the whole 24 hours – 15 minutes there was an error 522. And just at that time you decided to look at my site (((
Now everything is fine …
Hi Konstantin,
There are 2 ways, first one using a plugin and the other one is using a wordpress filter.
1. Install and Activate Simple Image Sizes, then go to Settings > Media.
Then change portfolio size’s cropping from Yes to No, save, then regenerate the images (click on Regenerate Thumbnails button at the bottom).
2. Add this code in functions.php:
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['portfolio'] = array('width'=>495, 'height'=>400, 'crop'=>false);
return $size;
}
then you’ll need to re-upload the image.
Best regards,
Nikko
thank
Hi Konstantin,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria