Viewing 14 posts - 31 through 44 (of 44 total)
  • Author
    Posts
  • #1149950

    Hi all,

    It’s amazing to me that this thread has over 30 comments now about the captions not working with the Masonry Gallery and nothing was fixed in the latest update. I provided images, illustrations, comparisons and multiple case studies and tests showing the problem. All that was done is a post about how to “hack” the problem which still doesn’t fix the issue.

    So I tried using a third party plugin called Lightbox with PhotoSwipe. This plugin has a feature called: “Get the image CAPTIONS from the database (this may cause delays on slower servers)”. This has worked with other websites using a different builder. But it DOES NOT work with Enfold. The Masonry Gallery cripples any attempt at getting the CAPTIONS. Not the TITLE, but the CAPTIONS.

    I pointing out that even in your own Masonry Gallery, THE CAPTION SECTION DOES NOT WORK. When you add images, you can rearrange them and enter captions. These captions don’t show up in the Lightbox because the Lightbox is only pulling the Title of the image.

    This problem doesn’t exist in the Gallery widget, only in the Masonry Gallery.

    If this is not something anyone cares about, can you at least allow other plugins to access the CAPTIONS to the image? Please?!

    Thank you.

    #1149951

    All I need is to simply have access to the image Caption using Lightbox with PhotoSwipe. But it seems the masonry widget does not allow access to this info from any plugin.

    Thanks

    #1150400

    Hi,

    Thank you for following up.

    We actually explained the issue in our previous reply:

    // https://kriesi.at/support/topic/lightbox-gallery-captions-not-showing/#post-1124620

    And provided a solution in the other:

    // https://kriesi.at/support/topic/lightbox-gallery-captions-not-showing/#post-1124952

    But you refused to implement it. Unfortunately, we are not familiar with the Photoswipe plugin’s code — specifically how or where it gets the caption. If it is from the database, then it is probably from an existing meta information that the images have, so the masonry gallery markup won’t matter. Did you disable the theme lightbox after installing the plugin? Please contact the plugin developer and ask them how the plugin applies the caption, then maybe we can implement the requirement in the masonry element.

    Best regards,
    Ismael

    #1198494

    Hello,

    I’m checking in on this after updating to ALL your recent updates running Enfold 4.7.4. At the link below, I show another set of images documenting how when uploading images to the masonry gallery, I enter the captions in the field provided by Enfold for captions. When I view the masonry gallery, the captions are not displayed, only the title is displayed.

    See documentation:
    https://www.dropbox.com/sh/bqiitp1mz75jynh/AABeX779m6T0gIKEjDr7HN_Ua?dl=0

    From a user who buys the theme and uses this masonry gallery and enters captions, this would be incredibly frustrating. Why do you continue to provide a field for captions if they don’t display? If you don’t plan to fix it, please remove it or make it pull the image title which is what it’s doing now.

    This continues to support my claim above that this was changed sometime 4 or 5 versions ago breaking all websites done previously.

    I hope I can help you fix this by showing you this problem for any new Enfold user.

    Thanks

    #1198990

    Hi,

    Our reply above still stands. You can either put the description or the caption in the title attribute of the images so that the lightbox will be able to pick it up, or follow the instruction that we provided in the previous thread so that the caption of the masonry item is used instead of its title attribute.

    Why do you continue to provide a field for captions if they don’t display?

    Please note that the caption field in the Media uploader is a default core feature, which is always available whenever you upload images. We didn’t add it manually.

    Best regards,
    Ismael

    #1199102

    I understand all this, thank you. By “core feature” what do you mean? WordPress core or Enfold core? Also, please point me to where I can find any tutorial or information about this problem if I was a new user. I know how to fix it now and I’m a little more advanced them other users. Do you want all new users to go looking for this thread because the theme doesn’t work correctly?

    There is no info here at all about this caption issue:

    And in this tutorial which you recommend, has NOTHING about captioning your images and how to make sure you do it right. The video talks about how amazing the gallery is for your photography, and completely misses one of the biggest features for photographers.

    I’m just wondering if this is something that users will find misleading and frustrating. As a new user who adds a new gallery, I see the theme show me nice inputs under the images that say “Image Caption.” So you’re telling me as a new user once this doesn’t work I have to go looking all over the internet for why it doesn’t work?

    With such an important feature, is it not important to fix?

    Thanks,
    Leyden

    #1199723

    Hi,

    It is a core feature of the media uploader or library from WordPress — it’s not from the theme.

    There’s actually no problem with how the masonry element works aside from your expectation that the value set in the caption field will display in the lightbox description, which is not how we intend it to work by default. Again, the masonry element will use the value of the title attribute as description, not the caption value.

    If you want the caption value to display in the lightbox container, you can again do the modification that we provided previously.

    // https://kriesi.at/support/topic/lightbox-gallery-captions-not-showing/#post-1124952

    We will forward the thread to our channel.

    Best regards,
    Ismael

    #1221506

    With new DOM Elements ( mfp-top-bar) and for the mfp-bottom-bar a callback function with new content.
    here is my magnific popup script written for that page here: https://webers-testseite.de/pureinstall/masonry-gallery/

    See popup script code on that page please.

    ______

    Off Topic : i just realized that a masonry with fixed size got a totaly different markup than the flexible masonry – so code must be changed.

    • This reply was modified 4 years, 1 month ago by Guenni007.
    #1222032

    Hi,

    Thanks @Guenni007. Is it OK if we post the popup_masonry_gallery function here so that everyone can see it?

    Best regards,
    Ismael

    #1222045

    yes – of course – if there is a better syntax let me know.
    I changed a little bit the code – with better markup – because it is better to have mfp-title is Title – that’s not so confusing then

    • This reply was modified 4 years, 1 month ago by Guenni007.
    #1222723

    Hi,

    I added this problem to our feature requests in the dev repo.

    But it will need to find a solution to stay compatible with existing sites that rely on the existing behaviour.

    Probably we will add options for new sites and a filter for existing sites to use captions.


    @Guenni007

    Added alt attribute to fixed masonry markup.

    Best regards,
    Günter

    #1222833

    Thank you Günter for adding this to the list of feature requests and bug fixes.

    It seems to me that all the replies here on how to fix it and how there is nothing wrong with it misses the point to a major part of Enfold users who are not web developers. As they use the gallery and enter captions into the field that says they should enter a caption and then they don’t work. It’s a major problem.

    Another point I would make as I made before, we launched many websites for clients using Enfold where this field worked just fine and it even used the captions input from the images. IT WAS CHANGED at some point and ALL our client sites were broken. We had to go through everything and change the caption info to the Title field in the image.

    If this had always worked in the current way, we would not have launched so many websites using that field to enter captions or using the caption field from the images.

    I hope this gets fixed. Thank you.

    #1222848

    But you had seen my answer – and have followed the link above?
    https://kriesi.at/support/topic/lightbox-gallery-captions-not-showing/page/2/#post-1221506
    and if you like to have all in the bottom bar, just change the markup on top – and move the mfp-title div to the bottom bar.

    #1224425

    Hi,

    Link to the custom popup_masonry_gallery script (by @Guenni007) in case someone else wanted to implement it: https://pastebin.com/uQTbY8Cb

    Example: https://webers-testseite.de/pureinstall/masonry-gallery/

    Best regards,
    Ismael

Viewing 14 posts - 31 through 44 (of 44 total)
  • You must be logged in to reply to this topic.