Custom gallery: change/remove image title attribute
When I create a custom gallery from images attached to the current post, I get the <img> tags with the title attribute showing up on mouse hover.
This is good, however, I run a user-generated website and folks upload images to my site and, obviously, the title will automatically be the file name of the image. So, when I mouse over an image I get something like “IMG07052012” and “untitled_234524_gg” and so on.
Is there a way to make the generated <img> tag not include a title attribute, or maybe have an option to change it to, say, the post title?
- The topic ‘Custom gallery: change/remove image title attribute’ is closed to new replies.