Need help? Check out our Support site, then


Adding Retina Graphics

  1. Hi,

    I was wondering if it's possible to add alternative images (2x) for high-dpi displays, such as that of the iPhone 4 or upcoming iPad 3?

    I've been googling around and people are using solutions like Java Script etc. for that, but which are beyond my skills.

    Thanks!

    The blog I need help with is pixelcounterrr.com.

  2. Sorry I don't know more bout it but Javascript doesn't work here on WordPress.com.

  3. I see that there's a way to add retina graphics using CSS3 media queries, but that's not available yet for the WordPress.com Custom Design upgrade. I've noted your question though and added it to our user suggestion list.

  4. Okay, thanks designsimply. I'm pretty sure the high-dpi graphics are becoming more relevant day by day.

  5. I agree! Love that you posted about it. We've put it on our things-to-update list. Would love to also see more people reply here or send us a note if there is more interest.

  6. @pixelcounter, adding high-dpi graphics is now supported at WordPress.com. :)

    Try copying the example at http://aralbalkan.com/demos/high-dpi-images/ if you'd like to test it out.

  7. Thanks for the info!

    Is there an easy way now to replace, for instance, the header with a high-resoution image?

  8. Certainly. :)

    Here is an example showing how to do it for the iPhone 4 based on pixel ratio:

    @media
    only screen and (-webkit-min-device-pixel-ratio : 2),
    only screen and (min-device-pixel-ratio : 2) {
        /* CSS for your header image goes here. */
    }

Topic Closed

This topic has been closed to new replies.

About this Topic