Here is what I have –
<a href="/mi/">
<img id="i1" name="First" src="1.JPEG" onClick="return goto(this);"></img>
First Image
</a>
I am using this piece of code in a loop in my templates to show a bunch of images in a grid (gallery) like fashion. I want to show a one line caption just below all the images.
I want to show “First Image” text (which is a link) right below the img tag. I thought since I am having <a> as the parent container the text should be placed below the <img> but this is not happening.
How do I show text centered right below my image?
This should do:
Hope it helps.