WordPress.org

Ready to get started?Download WordPress

Forums

Image Caption
width and height required - Bug? (2 posts)

  1. jlambrosio
    Member
    Posted 2 years ago #

    Greetings.
    First of all, I can definitely say that the plugin "image caption" works in WP 3.3.1.

    However, there's a (not so) slight inconvenience: the caption only appears under images in which height and width have been defined, as you can see here: http://www.llueveensevilla.indiopole.com/2012/03/02/miguel-angel-iglesias/

    I'm using bash 1.0 theme, and in the css all the images are re-scaled to fit the entry width (max-width: 100%;) so basically I only have to copy and paste the picasa links.

    Now, if I want this plugin to work, I have to write down the re-scaled height and width and include these parameters in the img src tag. A royal pain, if you ask me.

    Is there any way to modify your image-caption.php to avoid this?

    Thanks a lot in advance

    http://wordpress.org/extend/plugins/image-caption/

  2. jlambrosio
    Member
    Posted 2 years ago #

    Ok, after posting the previous message I thought that maybe including a simple
    width="100%"
    in the img scr tag would make the plugin image-caption work. And it works!

    So I can forget now about having to write down the rescaled size of every picture and placing it in the mag tag. A simple width=100% is enough to make it work.

    Thanks a lot, anyway

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic