stefanledin / responsify-wp

The WordPress plugin that cares about responsive images.
http://responsifywp.com
GNU General Public License v2.0
52 stars 8 forks source link

Force the src attribute to be used #24

Closed willryanuk closed 8 years ago

willryanuk commented 8 years ago

I would like the option to force a src attribute to be included in the responsive srcset images. Ideally, this wouldn't be necessary, but sites like Pinterest (which are very important for some of the businesses we work with) does not scan the page for srcset attributes. Therefore, pinterest basically doesn't work very well for the site. I know this could result in a double download of the image in some browsers, but unfortunately, this is a price worth paying for many of my clients.

Is this a feature that others might find useful perhaps, and we can add it as an option?

stefanledin commented 8 years ago

Hi! Sorry for the late reply, I just haven't seen your question... You can turn on the Native mode on the RWP settings page. The <img> will both have an src and srcset then.

willryanuk commented 8 years ago

Oh right, sorry I saw that setting and didn't quite work out what it would do! Thanks for your response.

stefanledin commented 8 years ago

No problems! Thanks for being a user :)