Support » Plugin: Justified Gallery » Image in lightbox is to heavy – need option to set it as “large”

  • Thanks for a great plugin.

    I noticed that the image in the lightbox is set to full size.
    This could be very heavy for mobile devices or poor internet connections.

    It would be great if you could choose prefered image size for the lightbox in the plugin options.

    I made a quick fix my self and changed the following in Gallery.php:
    $image_link = wp_get_attachment_url( $attachment->ID );
    To his:
    $image_link = wp_get_attachment_image_src( $attachment->ID,’large’ )[0];

  • The topic ‘Image in lightbox is to heavy – need option to set it as “large”’ is closed to new replies.