-
AuthorPosts
-
September 20, 2021 at 1:07 pm #1321622
Hi there,
the issue is – I think – much related to this topic https://kriesi.at/support/topic/image-resizes-automatically-on-portfolio-grid/.
We had our problems displaying the light box image on full size, now we need the same thing for the preview images (the one you click on before the lightbox will be opened, displaying the same image as bigger size).Is there also a nice filter/function for that?
September 21, 2021 at 5:07 am #1321709Hey emilconsor,
Thank you for the inquiry.
Where can we see the issue again? Please provide a direct link to the page containing the image.
Have you tried selecting a thumbnail in the Styling > Grid Settings > Select custom image size settings? You have to set the Portfolio Grid Image Size settings to the second option first.
Best regards,
IsmaelSeptember 24, 2021 at 12:04 pm #1322189Hi Ismael,
yeah sure, see private content.
I’m talking about the slider you see once you’ve clicked on one of our references https://www.econsor.de/referenzen/.
These images within the slider need to be fullsize, if possible.September 24, 2021 at 12:27 pm #1322196Hi,
Thank you for the info.
Looks like you are using a different slider in the portfolio preview and you have embedded it using a code block. Please check the screenshot below.
Screenshot: https://imgur.com/sHo6DY2
You may need to modify the embedded code manually to adjust the size of the slider images.
Best regards,
IsmaelSeptember 29, 2021 at 9:35 am #1322759Hi Ismael,
sorry, we’ve changed that just recently. We still need that though, as you can see here https://www.econsor.de/referenzen/lamisse-onlineshop/ – once you’ve scrolled all the way down to the other references, you can click on one of them. They will open up a slider – you can see that on the screenshot too. https://imgur.com/LhL3O3dOctober 1, 2021 at 12:43 pm #1323140Hi,
Alright. Please try to edit the enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php file, look for this code around line 1351..
$params['size'] = $params['preview_size'];
.., and replace it with:
$params['size'] = "full";
Let us know how it goes.
Best regards,
IsmaelOctober 4, 2021 at 9:56 am #1323405Hi Ismael,
that works! Thank you for your time!
There is not a way to do that via the child theme, right?October 5, 2021 at 4:15 am #1323562Hi,
No problem! Glad to know that it is working. You can actually override the the shortcode file (portfolio.php) in your child theme. Please check the following documentation.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
You have to add the snippet in the functions.php filey, create a folder called “shortcodes” in the child theme directory, then create a copy of the shortcode file inside the new folder. The snippet will instruct the theme to look for new builder elements in the “shortcodes” folder.
Best regards,
IsmaelOctober 12, 2021 at 1:42 pm #1324557Hi Ismael,
thanks again!October 13, 2021 at 12:55 am #1324652 -
AuthorPosts
- The topic ‘Image resizes on lightbox preview image’ is closed to new replies.