Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1136941

    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/

    • This topic was modified 5 years, 3 months ago by Konstantin.
    #1137549

    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

    #1137558

    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 …

    #1137608

    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

    #1137805

    thank

    #1137938

    Hi Konstantin,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.