
-
AuthorPosts
-
March 29, 2020 at 11:06 am #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?April 6, 2020 at 12:18 pm #1201201Hey 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,
IsmaelApril 6, 2020 at 12:18 pm #1201202Hey 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,
IsmaelApril 6, 2020 at 1:57 pm #1201224or – 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_sizePPS: for your mobile rendering of the image : no solution yet.
April 7, 2020 at 4:33 am #1201454thank you very much. It helps me alot
April 7, 2020 at 6:42 am #1201484 -
AuthorPosts
- You must be logged in to reply to this topic.