Title: Do I write  or ?
Last modified: August 22, 2016

---

# Do I write or ?

 *  [Christoffer](https://wordpress.org/support/users/riisdesign/)
 * (@riisdesign)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/do-i-write-or/)
 * Hello!
 * I want to use the new picturefill method, but I’m confused when it comes to how
   I should write my HTML. Should I write e.g. <img srcset=”image1.png image2.png
   2x”> or just the regular <img src=””> ?
    Does the plugin then rewrite this automatically?
 * I also want to know how I should write my retina CSS.
    So far, I’ve done it manually
   by using [@media](https://wordpress.org/support/users/media/) query device-pixel-
   ratio. The plugin doesn’t fix this automatically, right?
 * I’m right in the middle of a big project atm so quick replies will be sincerely
   appreciated!
 * Thanks 🙂
 * [https://wordpress.org/plugins/wp-retina-2x/](https://wordpress.org/plugins/wp-retina-2x/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/do-i-write-or/#post-5270876)
 * Hello,
 * Regular is fine. The plugin is made to work with normal HTML code made using 
   the HTML editor used by WordPress, then it will be rewritten 🙂
 * Normally you don’t need any CSS.
 *  Thread Starter [Christoffer](https://wordpress.org/support/users/riisdesign/)
 * (@riisdesign)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/do-i-write-or/#post-5270898)
 * Thanks for such a quick reply, Jordy!
 * The reason I got confused was because I use a non-retina Macbook and the debug
   mode, and in the webinspector, I didn’t see the <img src> being rewritten to 
   <img srcset> although it got the @2x version, but that’s probably because of 
   the debug mode, right?
    The images I add manually from an “img” folder will also
   get rewritten I assume?
 * Regarding the CSS, I often use background-images with background-size: cover 
   to fill the entire screen. It’s not a problem if I’ve to add the media queries
   myself though, but it will be a problem when I add an inline background-image
   that links to a dynamic attachment.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Do I write or ?’ is closed to new replies.

 * ![](https://ps.w.org/wp-retina-2x/assets/icon-256x256.png?rev=2597316)
 * [Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF](https://wordpress.org/plugins/wp-retina-2x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-retina-2x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-retina-2x/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-retina-2x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-retina-2x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-retina-2x/reviews/)

## Tags

 * [picturefill](https://wordpress.org/support/topic-tag/picturefill/)
 * [srcset](https://wordpress.org/support/topic-tag/srcset/)

 * 2 replies
 * 2 participants
 * Last reply from: [Christoffer](https://wordpress.org/support/users/riisdesign/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/do-i-write-or/#post-5270898)
 * Status: not resolved