WordPress.org

Ready to get started?Download WordPress

Forums

Putting Captions On Images (3 posts)

  1. kevin22
    Member
    Posted 6 years ago #

    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

  2. Ivovic
    Member
    Posted 6 years ago #

    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.

  3. kevin22
    Member
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic