Support » Fixing WordPress » Image caption for pic with wrapped text?

  • Resolved aprilia

    (@aprilia)


    I have figured out a way to cheat a picture caption below a pic that is the entire width of the blog space by using the following code:
    <p align=”center”><img src=”http://www.motorcyclebloggers.com/images/angrybob/march05/rsvr_1.jpg&#8221; alt=”So I removed the Kalifornia emissions cannister…who knew?” />
    <span style=”font-size:78%;”>My very non-PC polluter</span>

    I know this is probably real inefficient as I am trying to learn html in my spare time…literally I have the book in front of me!

    It looks fine here:
    http://motorcyclebloggers.com/2005/06/03/failed-emissions-at-mvd/

    My question is two-fold:
    Is there a plugin to do this? I have done the search & looked on my WP Plugin Manager list.

    More importantly, is there a way to get a caption on a pic that is off-center with text wrapped to one side via plugin or html as in this article:

    http://motorcyclebloggers.com/2005/05/30/snell-part-3/

    I currently use the alt=”xxx” that results in a pop-up cue card with a description if the reader scrolls the cursor over the pic, but I would prefer a caption line instead.

    Any help would be appreciated.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The correct usage of this type of “caption” should be as follows:

    <p class="imageholder">
    <img src="http://www.mot....rch05/rsvr_1.jpg" alt="Type of motorcycle and description of motorcycle" />
    <br />
    My very non-PC polluter</p>

    With the following (or something like it) in the style sheet:

    .imageholder {text-align:center; font-size:78%}

    And any other elements you would like to add to it.

    The “alt” in the image is to DESCRIBE the picture, not make editorial comments. It is used by screen readers to “tell” people who are visually impaired what the picture is and what it looks like. Keep it short and simple.

    If you would like to see other interesting ways (and copy the code) to highlight photographs on your website with and without captions, check out this article.

    Thread Starter aprilia

    (@aprilia)

    Thanks Lorelle. I’ll try that. As for the pics with wrapped text, this is the code I am using:

    <img src=”http://www.motorcyclebloggers.com/images/angrybob/2005/may/cost_327.jpg&#8221; align=”right” alt=”How do you plan on crashing?” style=”padding:2px;”/>

    Understanding (now) the “alt” ettiquette, is there something I can do within this line to get a small caption under the ‘smaller’ pic that is aligned to the right?

    TIA

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image caption for pic with wrapped text?’ is closed to new replies.