• Resolved Backroad Planet

    (@wayfaringranger)


    I just started using Jetpack Gallery for the first time. When you hover over an image in a tiled gallery, the caption appears, which is fine, but the title metadata from the image also appears. I would like to keep the image caption when hovering, but I do not want the image title to appear on hover. I know I can delete the title metadata from these images, but I would like to leave titles in all my images in case I use them for other applications.

    Thanks!

    https://www.ads-software.com/plugins/jetpack/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Are you referring to “another title” as it appears on this screenshot?
    https://cloudup.com/c3yC8ui0ogc

    If so, I’m afraid you won’t be able to remove it, as it’s not added by Jetpack; it’s handled by the browser. Your only solution would be to remove the “Title” option in the gallery.

    Thread Starter Backroad Planet

    (@wayfaringranger)

    Yes! That is exactly my issue.

    Thanks for your help, Jeremy! I deleted the titles from all of the images I used in galleries for my recent post, but I was hoping to disable the hover title from showing because my images need titles for Google searches.

    Is there a way to disable the title from within individual galleries?

    Thanks again!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Is there a way to disable the title from within individual galleries?

    I’m afraid there is no option to do that. You’d have to edit the Jetpack plugin files, and your changes will be overwritten each time you update the plugin.

    The image titles are also useful for those browsing your site with a screen reader. Without a title, they won’t be able to know what the image was about.

    If you want to make that change anyway, you can edit modules/tiled-gallery/tiled-gallery/tiled-gallery-item.php, line 9, and replace $this->image_title = $this->image->post_title; by $this->image_title = '';.

    Thread Starter Backroad Planet

    (@wayfaringranger)

    Thanks so much for your kind assistance, Jeremy!

    I understand your point about screen readers. My father is visually impaired. I will take your point into consideration.

    Should I decide to make the change, where would I find the Jetpack gallery module to edit. I am not much of a coder.

    Thanks again!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You’d have to look in wp-content/plugins/jetpack in your site’s directory, and then edit the file I mentioned above.

    Thread Starter Backroad Planet

    (@wayfaringranger)

    Thanks so much, Jeremy! You have been more than helpful.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove Image Title from Hover in Jetpack Gallery’ is closed to new replies.