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

    Hi,
    I’m struggling with one thing. All galleries I tried to use with Enfold seems to be limiting image size of pictures once clicked (slideshow) to a small size.
    There is however lot of unused space around this image which could be used to display the image much bigger.

    When I check the image it is showing it seems to be always resized image 1030x(642/639). Any specific reason why it is not using the biggest but some resized picture? This seems to be the same for all the galleries

    Current state:
    current state

    Would something like this be possible to be configured with current Enfold galleries option?
    Expected state:
    expected state

    Because images are for my business critical I need somehow to be able to show them as big as possible.

    Thanks

    • This topic was modified 2 years, 1 month ago by Sovietovic.
    • This topic was modified 2 years, 1 month ago by Sovietovic.
    • This topic was modified 2 years, 1 month ago by Yigit.
    #1366247

    Hey Sovietovic,

    You would have to use a full screen element for that, for example the Fullscreen Slider. Did you try that out? Here’s an example: https://wpexpert.se/enfold/full-screen-gallery/

    Best regards,
    Rikard

    #1366256

    Thanks Rikard,
    That can be workaround for some pages (click from simple picture to separate page with full scree slider) but on some pages I would like to have gallery instead where people can click and it will open big picture for them. Isn’t there an option/css how to make this gallery main picture bigger (after click)? Or somehow configure to not use this WordPress resized picture for big screens? It just seems very strange that from picture with size 2500px it won’t use even half. This makes gallery kind of unusable on big screens when people want to show detailed big images. Instead they get small picture where you can barely see the details

    #1366406

    Hi,

    Please add following code to bottom of functions.php file of your child theme – https://kriesi.at/documentation/enfold/child-theme/

    
    add_filter("avf_alb_lightbox_image_size", function($size, $context) {
        $size = "full";
        return $size;
    }, 10, 2);
    

    Best regards,
    Yigit

    #1366502

    Thanks a lot Yigit,
    This worked like magic. Exactly what I needed.
    You can close this topic.

    #1366518

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Adjust gallery picture to full page content’ is closed to new replies.