Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Blurry Images on Mobile Devices

Featured Replies

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!

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 by Renaissance-Design
Fsckin' typos

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.