• Hello,

    How can I remove the automatically inserted Image-width without that being overwritten by any plugin updates.

    I do not wish to have image-width:100% automatically inserted on the displayed image. It appears to be coming from this plugin.

    Otherwise, thank you for this plugin. It works well.

    Jay
    Owner
    CompuMatter

    https://wordpress.org/plugins/image-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter compumatter

    (@compumatter)

    Here is a link to a picture showing the issue at hand.
    http://compumatter.com/test/max-width.png

    The image highlighted in the top left corner was uploaded using your widget plugin.

    Thanks again. Jay

    Thread Starter compumatter

    (@compumatter)

    OK, I took a video of the behavior that does not work. You can see the width shrinks while the height does not. This causes the image to distort. Not good.

    The solution is height:auto;

    Here’s the bad behavior which I’ve uploaded to youtube: http://youtu.be/w_6Kh-ljlYE

    To correct it, I edited the plugin code and inserted $instance[‘height’] = ‘auto’;

    It now scales both horizontally and vertically.

    Recommended inclusion into this otherwise perfect plugin 😉

    Jay
    CompuMatter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image-Width insertion’ is closed to new replies.