October 2, 201016 yr I've been working on my personal blog for quite a while now and have found one issue that needs to be resolved. I wish to add captions to image that I add to my blog posts. I'd like to use the alt tag to enclose the caption itself. How would i go about displaying an alt tag? Thanks in advance guys! What I currently have:
October 2, 201016 yr If I understand correctly you're looking for a title tag, not an alt tag? What are you powering the blog with, Wordpress?
October 2, 201016 yr Author If I understand correctly you're looking for a title tag, not an alt tag? What are you powering the blog with, Wordpress? I've created the site myself. It's not powered by any CMS. I used PHP to create it.. the tutorials you can find out there are useful! How do I get it to display the title tag?
October 2, 201016 yr Author If I understand correctly you're looking for a title tag, not an alt tag? What are you powering the blog with, Wordpress? I've created the site myself. It's not powered by any CMS. I used PHP to create it.. the tutorials you can find out there are useful! How do I get it to display the title tag?
October 2, 201016 yr I suspect you're going to have to use jQuery to do that as you're going to override/add to what the browser will do. Then again if you're pulling the information from a database then why not just store the title so you can retrieve that with the image?
October 2, 201016 yr Author I suspect you're going to have to use jQuery to do that as you're going to override/add to what the browser will do. Then again if you're pulling the information from a database then why not just store the title so you can retrieve that with the image? How would I go about adding/pulling that information from the database? I understand how to submit the data already for my posts, but if I want a different title for the image other than the title of the posts.. how would i go about doing that. Thanks anyway!
October 2, 201016 yr Author For those of you wondering how to go about displaying the image caption using jQuery... I found this post online about a plugin called jCaption here.
October 2, 201016 yr Author difficult to say not knowing how your database is structured You've been a great help Zed! Cheers
October 13, 201016 yr I suppose you're going to have to use query to do that as you're going to override/add to what the browser will do. Then again if you're pulling the information from a database.
Create an account or sign in to comment