Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #411506

    Hello,
    let me applogize if the issue has been answred, I tried many of suggested in forum, but none did work out for me.

    How can I have pictures in regular gallery as well as masonry displayed in lightbox in native original size 1920×1080 px. It seem that they are being automatically downsized to 1030x579px.

    Thank You!

    Petr

    #411704

    Hey Pijer!

    Please see here, https://kriesi.at/support/topic/larger-lightbox-pictures/.

    Regards,
    Elliott

    #411754
    This reply has been marked as private.
    #411760

    Hello, Elliott
    it does work out with masonry though.

    thank You, appreciate Your help.
    p.

    #412307

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter( 'avf_avia_builder_masonry_lightbox_img_size', 'enfold_customization_change_popup_size' );
    function enfold_customization_change_popup_size( $size ) {
    	return 'fullsize';
    }

    Best regards,
    Yigit

    #412324
    This reply has been marked as private.
    #412684

    Hey!

    Try with this code instead:

    add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
    {
        $link = wp_get_attachment_image_src($attachment->ID, "full");
        return $link;
    }

    Regards,
    Josue

    #412824
    This reply has been marked as private.
    #412832

    Hi,

    Sorry for that, can you please hand me a temporary FTP account so i can fix it?

    Regards,
    Josue

    #412835
    This reply has been marked as private.
    #413102

    Hey!

    When you copy&pasted the code special characters converted into HTML, i fixed it. But login credentials are not working for me. Can you please check them once again?

    Cheers!
    Yigit

    #413108

    I also wanted full size images after clicking on the thumbnail. It’s been a while and I think Josue was the one to give me the solution. I’ve been using it ever since and still works perfectly:

    1) Go to config-templatebuilder/avia-shortcodes/gallery.php
    2) Search for: 'lightbox_size' => 'large',
    3) Change large into full.

    Sorry if this doesn’t answer the question. For Masonry it’ll probably be in a different php file in avia-shortcodes.

    • This reply was modified 9 years, 8 months ago by DavyE.
    #413116
    This reply has been marked as private.
    #413280

    Hey!

    The gallery at the bottom is now opening the full image in Lightbox.

    Regards,
    Josue

    #413289

    Hey!
    Thank You grat time!
    I have never ever met this level of service before.

    Have a graat day wherever it is.
    It is 10pm here.

    Petr
    (Czech Republic)

    #413290

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Lightbox FULL SIZE picture’ is closed to new replies.