Robbie S
Member
Posted 2 years ago #
Whenever I ad a picture to my blog Shadowbox show is correctly, but the "title" doesn't show pop up above the picture.
I noticed that when I enter the title (when I uploading the picture to wordpress) it gets included to the <img>-tag only. However, when I manually enter "title=blah blah" in the <href>-tag it shows up in Shadowbox.
Seems like Shadowbox should read the <img>-tag instead of the <href>-tag for info. Or am I doing something wrong?
Shadowbox works completely off of <a> tags. This was not a decision on my part but a decision from the author of shadowbox.js. I have had requests to add such a feature to to this plugin but have yet to do so. It will likely involve a fair amount of work and overhead. Within the coming months I can look into adding a title attribute to the link if one does not exist and one does exist on the img tag.
Don't expect to see this functionality added soon.
Robbie S
Member
Posted 2 years ago #
Ah! Ok, at least I know it's under consideration. Thanks for the fast reply. =)
So I had a little free time this morning to play with this. I thought about it, and I decided I didn't want it to be part of this plugin. But what I decided to do was make it another plugin completely, that will be bundled with the shadowbox js plugin. It will require a separate activation as it will show up as another plugin completely.
It hasn't been released yet and won't be for another few weeks but the next release should have it.
just figured I'd give a little heads up.