Hey,
I want to use the original size of an image in the gallery lighbox, cause the large – version is a bit blurry.
I have the same problem in multiple websites with many pictures, so defining “large” new and uploading the pictures again is not an option (I have read this solution in an other topic).
I would prefer a solution where you can define “full size Image” as the lighbox image in the functions.php or gallery.php in the child-theme.
I have tried this code in the functions.php:
add_filter( 'avf_avia_builder_masonry_lightbox_img_size', 'enfold_customization_change_popup_size' );
function enfold_customization_change_popup_size( $size ) {
return 'fullsize';
}
but it did not worked out.
Hey Maja,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? Is the code still there?
Best regards,
Victoria
Hey Victoria,
here is the Login. I disabled the Editor for Themes, cause there are more people with access as Admin. If you need access for the Editor as well, let me know and I will temporaly enable the Editor.
Hi Maja,
Yes, I need the Editor menu option enabled.
Best regards,
Victoria
Hey Victoria
Hi Maja,
It looks like the lightbox is using the big original images. Look at the image in private. It could have been compressed by WordPress on upload. Here is what you can do
http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/
But then you will need to reupload the images.
If you need further assistance please let us know.
Best regards,
Victoria