Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #514046

    Hello everybody,

    if i click on an image, it will be displayed at the lightbox with a width like 1024px … thats very small. Is it possible to change the lightbox imagesize or is it possible to program it, that the lightboximages depends on the screen resolution?

    Greets Björn

    #514057

    Hey CiniZ!

    Yes lightbox does depends on screen resolution, as it is responsive it self.
    Do I understand you wrong, do you need something else?

    Cheers!
    Basilis

    #514061

    I have a fullhd resolution .. and the image is only 1024 width…

    http://www.hochzeitsfotograf-bjoernkuhle.de/allerlei/problem_09.jpg

    A Screenshot… in my oppinion is the image very small :/

    #514579

    Hi!

    Please try adding following code to Functions.php file in Appearance > Editor

    add_filter( 'avf_avia_builder_masonry_lightbox_img_size', 'enfold_customization_change_popup_size' );
    function enfold_customization_change_popup_size( $size ) {
    	return 'fullsize';
    }

    Regards,
    Yigit

    #514585

    Hey!

    lightbox is showing up fine for me: http://imgur.com/cp9DRBS

    Regards,
    Andy

    • This reply was modified 9 years, 2 months ago by Andy.
    #514623

    @ Andy – ur Screenshot looks fine …
    @ Yigit – now it looks very nice :) thx a lot … what was the problem before?

    #514713

    Hi!

    There was no problem, this is how it should look by default and the code i posted makes it display fullsize :)
    You are welcome, glad we could help! Let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Lightbox – Want to change the size of the images’ is closed to new replies.