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

    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.

    #811750

    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

    #811753

    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.

    • This reply was modified 6 years, 10 months ago by Maja.
    #812138

    Hi Maja,

    Yes, I need the Editor menu option enabled.

    Best regards,
    Victoria

    #812174

    Hey Victoria

    #812934

    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

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