Solved

How do the new retina (high dpi) displays affect web design

Posted on 2014-11-28
8
184 Views
Last Modified: 2014-11-30
I, like many, am trying to wrap my brain around how the new retina displays (high dpi) affect web design. Fortunately I just "dabble" in it as a hobby. I don't design for a living. I'm hoping we can just have a little "back and forth" here for a bit. I think if I can just get some answers to a few basic questions I'll be good to go for my purposes. FYI, whenever I create images "from scratch" for something I'm doing on the web, I use a very old version of Photoshop (5.5). The default ppi setting (which I've never tinkered with or even considered doing so until now) is 72 ppi.

Okay. First question. If I create a banner image for a web page that is 1000px wide and 200px high, then load that page in Safari side by side on an iPad 2 and an iPad Air (Retina) , both with a 9.7 inch diagonal screen size, how will that banner image look different (BTW, for this example, this is without using any media screen queries and css)?  On the iPad Air, will the image just take up far less screen space (esp width), or will it take the same amount of screen space, but just look far less sharp and somewhat degraded? If it helps you, here is a link with the specs on these iPads.  http://www.iosres.com/
0
Comment
Question by:Thunderman54
  • 4
  • 4
8 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40470578
0
 

Author Comment

by:Thunderman54
ID: 40470611
Gary, I just kind of quickly scanned the content of the links you posted. I'll check them out more carefully later. Based on what I did read, however, I'm taking that your answer to my question above would be the latter, correct? That is, ". . .  take the same amount of screen space, but just look far less sharp and somewhat degraded?" (again, using my version of Photoshop and the default ppi setting of 72 ppi to create the banner image)
0
 
LVL 58

Expert Comment

by:Gary
ID: 40470618
Correct a 1000px image is a 1000px image no matter the display.
The only difference is when you are programming for retina displays you can use a double size image to give better clarity to the image
So for normal images 1 pixel of the image is dislayed over 2 x 2px
For a retina ready image then 1 pixel on the screen is equal 1 pixel in the image
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:Thunderman54
ID: 40470690
Okay. Just to be sure we're on the same page, however . . . when you say "use a double size image," do you mean go ahead and create the actual image double size, but in the actual code itself you would cut those width and height dimensions in half . . . thus giving you the same size image but better clarity. Also, if this is what you mean, would doubling the ppi in Photoshop before creating the image accomplish the same thing?
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40471072
You create an image that is 1000px wide and an image double the size - and you set the dimensions to be 1000px
Then you can either use a 1000px image or a double size image (taking into account you only serve the correct image for the display)
On a normal screen you just have a 1000px image, on a retina display you replace the image with the double sized image, but because it is a retina display all those extra pixels are used and you get the high resolution
I think this tut explains it quite well:
http://code.tutsplus.com/tutorials/the-right-way-to-retinafy-your-websites--net-31793
0
 

Author Comment

by:Thunderman54
ID: 40471499
Thanks for your patience.  I'm really trying to get a handle on this. I read the tut you sent via the link and it makes sense. The only think I'm confused about is this: the tut says you create only one image to get the job done, whereas you seem to suggest creating two images. What am I not grasping? Sorry, unlike the Retinas, sometimes I'm low density. :)
0
 

Author Comment

by:Thunderman54
ID: 40472260
Okay. I've done some more research on my own and now realize there are a number of ways to approach satisfying the retina displays . . . including javascript, to my surprise. Thanks for your help.
0
 
LVL 58

Expert Comment

by:Gary
ID: 40472514
I wouldn't suggest one image unless it was a relatively small size, especially so for mobiles/tablets - no point downloading a 1000px (200kb) image and then a 2000px (400kb) image for the same thing
Using js means you only have to download the one correct image or using css you use media queries load the correct image - though this can only be done as a background image
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question