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

    hi~ On my website, I use lots of “Horizontal Gallery” to show my images. And I want to improve the size of images in the lightbox, but i cant find where to change it. (It seems that the original size in the lightbox is 1030×773)
    Another problem is that if I use my mobile phone to browse my website, the images shown in the lightbox are really
    blurry, I want to improve that. Cloud you please help with that?

    #1201201

    Hey liangjiashuo,

    Thank you for the inquiry. And quite sorry for the late response.

    You should be able to adjust the image size of the large thumbnail, which is the name of the thumbnail used in the lightbox, in the Settings > Media panel. After the adjustment, you can either regenerate all the thumbnails or upload them again.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1201202

    Hey liangjiashuo,

    Thank you for the inquiry. And quite sorry for the late response.

    You should be able to adjust the image size of the large thumbnail, which is the name of the thumbnail used in the lightbox, in the Settings > Media panel. After the adjustment, you can either regenerate all the thumbnails or upload them again.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1201224

    or – you determine a different image-size as source for the lightbox image
    for masonry galleries – this to child-theme functions.php:

    function avia_change_masonry_thumbnail_link($size){
      return "full";
    }
    add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_masonry_thumbnail_link', 10, 1);

    then it will take the full image size ( original uploaded Image ) for it

    btw: for different images ( image lightbox or gallery etc.) there are different filters to use
    avf_avia_builder_gallery_image_link or
    avf_avia_builder_helper_lightbox_size

    PPS: for your mobile rendering of the image : no solution yet.

    #1201454

    thank you very much. It helps me alot

    #1201484

    Hi liangjiashuo,

    Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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