Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #545921

    Hi Guys,

    Once again, I love your theme, I can’t stop buying it for my clients.

    I have a problem with the gallery masonry. When I click on an image, it opens the lightbox and at the bottom of the image (figcaption) it displays the “description” image (set up in media) instead of the Title image.
    Is it normal? if so, can you tell me how to display the image title instead of the description?

    I’m using the gallery image masonry in an Item portfolio (called “EXPO CARCASSONNE”).

    Many thanks in advance,

    Eldrico

    #545995

    Hey eldrico!

    It says the account is not active when trying to login.

    Best regards,
    Elliott

    • This reply was modified 9 years ago by Elliott.
    #546030

    Sorry, I hate that security plugin that force me to approve new registration without any notification.

    It’s ok now Elliott, sorry again

    #546082

    Hey!

    When you choose the images in the Masonry Gallery you have the option of setting a title and alt text. The text that gets displayed in the lightbox there is the title. If you want to switch that to the alt text then try opening up /enfold/config-templatebuilder/avia-shortcodes/helper-masonry.php and change line 231 from this.

    $img_html  = '<img src="'.$attachment[0].'" title="'.$title.'" alt="'.$alt.'" />';
    

    To this.

    $img_html  = '<img src="'.$attachment[0].'" title="'.$alt.'" alt="'.$alt.'" />';
    

    Best regards,
    Elliott

    #546127

    Hey Elliott,

    Thanks for your answer but:

    1- I can’t find the helper-masonry.php in the path you gave me /enfold/config-templatebuilder/avia-shortcodes/helper-masonry.php
    Please see the link1, screenshot of my FTP

    2- I’m sure it will work once i’ll get the correct path but is there a misunderstanding about the Title / ALT / Description ?
    Please see link2 about my image in wordpress Media.
    I’d like to get the TITLE into the figcaption, not the ALT (if possible).

    Thanks in advance,

    Eldrico

    #547036

    Hey!

    link to screenshots you have provided do not work for me. I get “Access denied”. Can you check please?

    Cheers!
    Andy

    #547068

    Hi Andy,

    Sorry, too much protection I guess…

    Can you try the links below please.

    thanks,

    Eldrico

    #547247

    Hey!

    The helper-masonry.php file was added in one of the later versions. You probably need to update Enfold to the latest version, 3.4.4.

    Regards,
    Elliott

    #547248

    Ok, thanks.

    And what about :
    TITLE, ALT, DESCRIPTION ?

    #548195

    Hi!

    The title is already displayed in the lightbox by default. The code I posted switches it to use the alt text instead.

    I tried checking your screenshot but the link is giving me an error.

    Best regards,
    Elliott

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.