Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #478720

    Thanks for an amazing theme!
    Thumbnails are ok, but as I open the portfolio item in AJAX/Gallery it crops the images. They open correctly if I click the image, but the Gallery thumbnails are cropped images. The only way to display the full image is to choose “image list”, but I want the gallery mode.
    I have set thumbnail to no scaling.

    Thanks for helping out!

    Magnus

    #479136

    Hi baramagnus!

    Try changing line 224 in the /enfold/config-templatebuilder/avia-shortcodes/gallery.php file from this.

    $prev	 = wp_get_attachment_image_src($attachment->ID, $preview_size);
    

    To this.

    $prev	 = wp_get_attachment_image_src($attachment->ID, 'full');
    

    Regards,
    Elliott

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