-
AuthorPosts
-
September 25, 2022 at 9:45 am #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:
Would something like this be possible to be configured with current Enfold galleries option?
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, 2 months ago by Sovietovic.
- This topic was modified 2 years, 2 months ago by Sovietovic.
- This topic was modified 2 years, 2 months ago by Yigit.
September 25, 2022 at 11:13 am #1366247Hey 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,
RikardSeptember 25, 2022 at 12:38 pm #1366256Thanks 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 detailsSeptember 26, 2022 at 4:10 pm #1366406Hi,
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,
YigitSeptember 27, 2022 at 10:45 am #1366502Thanks a lot Yigit,
This worked like magic. Exactly what I needed.
You can close this topic.September 27, 2022 at 11:47 am #1366518Hi,
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 -
AuthorPosts
- The topic ‘Adjust gallery picture to full page content’ is closed to new replies.