• Resolved ptg1947

    (@ptg1947)


    Hi, thanks for a great plugin. Is there a way to show image captions “permanently”, not only when I am moving the cursor over the image. Another issue; when opening the wp page on an iPad or iPhone, I can’t see the captions.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello ?? @kywyz will have a look at it soon.

    Hello !

    Indeed, display captions at all time could be an option !

    Thing is I haven’t worked so much on captions since we launched this plugin, it might be a good idea to do it now ??

    I can’t give you any precise date for a release, but it’s definitely on my to-do list ! If you have any feature request linked to captions ( or not ), feel free to give them to us !

    Best regards,
    Thomas

    Thread Starter ptg1947

    (@ptg1947)

    Hi and thanks your prompt reply. Sounds god that you might work on the caption issue.

    Any idea how to tackle the other issue I mentioned, namely how to see the captions on an ipad for example.

    Per

    Hello @ptg1947,

    Sorry for the late reply, concerning the captions on an smaller screen, the thing is there is no “hover” event, so in case the setting “always display sidebar” is checked then it’s not a problem, but if it’s not then, it’s probably not a good idea to show the caption on touch, since on most website the touch will trigger a lightbox.

    I think the solution for that is the option to always display the caption, and not just on hover.

    Best regards,
    Thomas

    PS: I’m tagging this issue as resolved, once we are done with this option and improving the captions, I’ll let you know ??

    Thread Starter ptg1947

    (@ptg1947)

    Thanks Thomas. Missed your message above so forget my message to today. Have also note that captions are truncated if they are too long. Maybe you can fix that as well.

    https://kolstadby.se/personer-som-bott-i-kolstad/

    If you want to see the caption and not only on hover I have got it with this css on the style file on the theme

    I think I get it on massonry layout adding this css to the theme style file.I do not know it work on all devices

    .gallery.masonry .gallery-item:hover {
        overflow: visible!important; }
    .gallery.masonry .gallery-item:hover figcaption {
        opacity: 1!important;
        transition: none!important; 
    }
    .gallery.masonry figcaption {
        opacity: 1!important;
        width: 86%!important;
        bottom: -30px!important;
    }
    
    • This reply was modified 7 years, 1 month ago by Susa38.

    Answer to “ptg1947”
    I think it’s not the best solution because when if you update the plugin you have todo it another time.
    But to get all the caption (not trunkated)
    there is a file on js folder inside the plugin folder with this

    `if(caption != caption.substr(0,50)) {
    var truncated_caption = caption.substr(0, 50) + “…”;
    $(this).html(truncated_caption);`

    if you replace 50 for other big number for example 500 the caption whow more letters until 500

    • This reply was modified 7 years, 1 month ago by Susa38.
    • This reply was modified 7 years, 1 month ago by Susa38.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Caption issue’ is closed to new replies.