how do I add text directly under an image?

Advert test

Alnilam

New Member
#1
I'm having a wee bit of trouble with images on a wordpress blog. Essentially I'm trying to add an image to a post and have the attribution text directly under the image, with the main body of the post wrapping around.

So far I've gotten the image to align and wrap the post text, but the attribution text is added to the main body of the post.

Here's the code I'm using...

Code:
<div align="right"><img src="blah" align="right" alt="blah" width="240" height="180"></a><em>blah <a href="blah">blah </a>blah </em></div>
Any suggestions would be really appreciated.
 

mneylon

Administrator
Staff member
#2
Which version of Wordpress are you using?

The more recent version of Wordpress has an option to include a caption for an image when you insert it. AFAIK it uses some CSS to handle it, but you don't need to worry about the mechanics, as it does it for you
 

Alnilam

New Member
#3
I'm using Wordpress 2.9.1 and Zemanta to find and embed the images but for some reason when I post anything with a zemanta embed image it changes the code in the post and destroys the formatting, so I'm trying to come up with a way to correct the html so it displays the way I originally intended.
 

mneylon

Administrator
Staff member
#4
If you have a Zemanta account you might need to tweak your settings.

Zemanta has two options for image insertion:
- with basic formatting ie. top right
- with no formatting, so you have to do it yourself

Though if you're looking for CC licensed images you might find that using Flickr's CC search might give you a better range of options.
 

Alnilam

New Member
#5
Yeah, I was using the right align and just moving the code down to wherever I want it in the post, which looks perfect in preview but when it's published it changes the code and doesn't wrap the post text around the image.

Is there not a way to do this with html?
 
#7
For that you want to some knowledge about new version of Wordpress,because Wordpress has an option to include a caption for an image. when you can add text directly under an image.
 
Top