• Resolved funzeye

    (@funzeye)


    Hi,
    From what I can make out the inline width and height style attributes inside the img element are preventing the plugin from working for me.
    I would have assumed that the plugin would have removed these two attributes as part of the process? Why isn’t this happening!?
    When I remove them manually the plugin works fine.

    https://wordpress.org/plugins/ricg-responsive-images/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tevko

    (@tevko)

    The plugin should work fine even with the width and height attributes. Check your developer tools network inspector when resizing the browser. You should see extra image requests going through. This plugin is only there to add the srcset attribute. We’d like to leave the rest of the wordpress image markup unaltered

    Thread Starter funzeye

    (@funzeye)

    Ah okay,
    ya, it seems to be working alright, it’s just that the height isn’t changing because of the inline height.
    But if I set my height to 100% in the css file it works grand, so I’m just going to do that also!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inline width and height preventing plugin from working’ is closed to new replies.