-
AuthorPosts
-
February 14, 2019 at 9:35 am #1066858
Hello,
I try to change the image size for a single image lightbox. Unfortunately it keeps loading the ‘large’ size whatever i try.
How can i change the image size from ‘large’ to ‘extra_large’ in a child theme. I tried to modify the image.php file. I got it working for masonry.
Thanks in advance
February 15, 2019 at 12:43 pm #1067436Hey Roger,
Can you disable caching and minification for now?
Best regards,
VictoriaFebruary 15, 2019 at 12:50 pm #1067439Hi Victoria,
I switched op wp-rocket. I am use photoswipe, instead of the enfold-lightbox.
What i need is to get ‘full’ image size in
a href=”https://rogercremers.com/wp-content/uploads/2019/02/RC20180922-CF258643-raw-1030×773.jpg”the size should be chosen in image.php
roger
- This reply was modified 5 years, 10 months ago by Roger. Reason: it linked to the lightbox
February 17, 2019 at 7:34 pm #1067960Hi Roger,
This is totally on the plugins side, Enfold does not weigh in here. You might want to check plugins’ docs for a possible setting or configuration.
Best regards,
VictoriaFebruary 17, 2019 at 10:31 pm #1068050Hello Victoria,
Than you for your answer. But unfortunately this is nog true.
Let me ask the question on another way. How can I get the lightbox to load a ‘full’ size version of an image when using the standard Magnific Lightbox from Enfold. Right now, the lightbox loads the ‘large’ version of an image.
This got nothing to do with any plugins.
Thank you in advance
roger
February 18, 2019 at 3:26 pm #1068398February 18, 2019 at 3:50 pm #1068414Hi Victoria,
Thank you for your answer.
This is only the display option. I want to modify the image in the lightbox , so in the anchor element.
roger
February 20, 2019 at 8:03 pm #1069662Hi,
Can you please try re-phrase what you need to do, not sure how the anchor is working together with the lightbox?
Best regards,
BasilisFebruary 21, 2019 at 8:38 am #1069839Hello Basilis,
I want to insert a single image on a page with the link set to lightbox in the image.
The size of the attachment file of the lightbox should be ‘extra_large’ instead of ‘large’ which enfold chooses.
I think something should be changed around line 452 of image.php, but i cannot get it working.
regards
roger
February 24, 2019 at 3:57 pm #1070950I know where to look. In the file ‘generic-helper.class.php’in line 82 I want ‘large to change to ‘extra_large’.
I can do this manually, but is it possible to get this in the child theme?roger
February 25, 2019 at 11:14 pm #1071520Hi,
Those classes unfortunatley cant be loaded from a child theme.
Best regards,
BasilisFebruary 26, 2019 at 8:25 am #1071667Hi,
unfortunately it is the wrong answer.
I found the right answer here:
https://kriesi.at/support/topic/problems-with-enfold-lightbox/February 26, 2019 at 9:30 pm #1071993Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Lightbox image size on Single image’ is closed to new replies.