Title: [Plugin: Image Caption]  width and height required &#8211; Bug?
Last modified: August 20, 2016

---

# [Plugin: Image Caption] width and height required – Bug?

 *  [jlambrosio](https://wordpress.org/support/users/jlambrosio/)
 * (@jlambrosio)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-image-caption-width-and-height-required-bug/)
 * 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/](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/](http://wordpress.org/extend/plugins/image-caption/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [jlambrosio](https://wordpress.org/support/users/jlambrosio/)
 * (@jlambrosio)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-image-caption-width-and-height-required-bug/#post-2637540)
 * 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

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Image Caption] width and height required – Bug?’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/image-caption.svg)
 * [Image Caption](https://wordpress.org/plugins/image-caption/)
 * [Support Threads](https://wordpress.org/support/plugin/image-caption/)
 * [Active Topics](https://wordpress.org/support/plugin/image-caption/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-caption/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-caption/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jlambrosio](https://wordpress.org/support/users/jlambrosio/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-image-caption-width-and-height-required-bug/#post-2637540)
 * Status: not resolved