WordPress.org

Support

Support » How-To and Troubleshooting » Putting Captions On Images

Putting Captions On Images

  • I use Windows live writer to construct my posts and then send them to my wordpress blog, but I’ve yet to figure out how I can place a caption underneath an image e.g. how would I put the words ‘Fido’ under the image of a dog?

    I know that there is a plug-in I can use in WordPress ‘image caption’ but I’d like to be able to do as much off-line as possible.

    Many thanks for any advice offered
    Kevin

Viewing 2 replies - 1 through 2 (of 2 total)
  • well, it depends on your specific requirements… if you don’t mind captions just appearing after your page loads, then you can do as I’ve done and use JavaScript DOM to turn alt attributes into captions.

    this can be done on the server-side if you like, but I’ve chosen to do it in javascript so that the client-side can choose whether they prefer alt tags or not (for example, browsers for the blind might prefer to maintain the alt attributes).

    you can see an example of this on one of my image-laden posts.

    if you’re interested in doing it this way, I’ll post a how-to.

    Nice blog. That’s pretty much what I would like to do with my images. So away you go post a ‘how to.’ but I have to add I’m javascript illiterate. Still I’ll try anything once

    Kevin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Putting Captions On Images’ is closed to new replies.