Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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?

    #1321709

    Hey 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,
    Ismael

    #1322189

    Hi 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.

    #1322196

    Hi,

    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,
    Ismael

    #1322759

    Hi 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/LhL3O3d

    #1323140

    Hi,

    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,
    Ismael

    #1323405

    Hi Ismael,

    that works! Thank you for your time!
    There is not a way to do that via the child theme, right?

    #1323562

    Hi,

    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,
    Ismael

    #1324557

    Hi Ismael,
    thanks again!

    #1324652

    Hi,

    Alright. Please let us know if you need anything else. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Image resizes on lightbox preview image’ is closed to new replies.