Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1418414

    Is there a way to remove the image title from images in the masonry gallery?

    https://app.screencast.com/GNMLpO4I5SWn1

    Also, simple question but I can’t find the solution. How do I remove images from the image gallery?

    • This topic was modified 1 year, 3 months ago by mediaapps.
    • This topic was modified 1 year, 3 months ago by mediaapps.
    #1418420

    First : you want to get rid of the titles under the opend lightbox images – or do you like to have different Text there and not the image titles?
    ____

    Next: how do you insert images?
    If you are knowing how to insert new images then you see those little crosses on already existing images in that gallery.:
    hovering the “X” will turn that to a minus sign “-” click and the image is gone.

    #1418425

    Thank you. I was clicking the X but not the -.

    In this instance I would like to remove the image titles in the lightbox. But in the future I may wish to change the title text.

    #1418427

    on default there should be a working choice for that under the option to choose the lightbox option:

    but i recognized now that for galleries – that option has no influence – but test yourself on your gallery. On Masonry Gallery it works well to choose “no text”

    if so we had to inform a Dev here on board – to fix it.

    in the meantime you can set the mfp-title to display: none

    div .mfp-title {
      display: none !important;
    }
    #1418429

    only for info to mods:

    Funnily enough, I can find the instructions for this in gallery.php – and not in masonry-gallery.php.:
    (they are in the helper for masonry: class-avia-masonry.php)

    $lightbox_title = $title;
    switch( $lightbox_text )
    {
    	case 'caption':
    		$lightbox_title = ( '' != $caption ) ? $caption : $title;
    		break;
    	case 'description':
    		$lightbox_title = ( '' != $description ) ? $description : $title;
    		break;
    	case 'no_text':
    		$lightbox_title = '';
    }

    ?

    #1418432

    ok i see:
    the lightbox script got his titles from the img tag not the anchor !
    so on line 784 (enfold 5.6.6) and on line 806:

    Guess title should be:
    title="{$lightbox_title}"
    i do not know how to handle the $prev_img_tag if we had to change that too.

    #1418511

    The No Text option worked fine for me Guenni. Thank you again for your assistance.

    #1418531

    Yes, for masonry gallery it works as it should – but for gallery there is no response to the choices.

    #1418608

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Masonry Gallery – Remove title’ is closed to new replies.