February 18, 201214 yr Hi there everyone! I'm currently stuck in a bit of a situation at the moment, I'm designing a responsive website for iPads/iPods/iPhones. I've created it and now coding it, but when I view the website on my mobile (iPhone 4) the images are blurry, they look crisp and solid on a desktop PC, yet not on my iPhone. I've been scanning the web for answers, but only found solutions for the blurry photos in the Camera app, not a website issue. If anyone has experienced this issue and found a fix for it, I'd be grateful if you posted the solution! If it's any help, my iPhone is running on 5.0.1 firmware. Thanks!
February 18, 201214 yr Your iPhone4 has a screen with a physical resolution of 640 * 960. Its logical resolution (what the device-width meta tag reports and your stylesheet targets) is 320 * 480, same as the physical resolution of older iPhones. What you're seeing is the effect of (assuming a full-width image in portrait orientation) using 640 pixels to display a 320 pixel image - it's blurry due to scaling artifacts. You're not seeing it on your desktop's screen because on all desktops, logical resolution = physical resolution. It's a problem you'll have with any high-density screen on a mobile device, not just the iPhone4. The solution would be to scale your images to the physical resolution rather than the logical, and they'll be crystal-clear. Edited February 18, 201214 yr by Renaissance-Design Fsckin' typos
February 18, 201214 yr Author Thanks for a well detailed explanation into why this issue is occurring. So basically what you're saying is, I need to double the width and height of each image I create, then use css to shrink them to the size they we're originally planned at? Thanks!
Create an account or sign in to comment