Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website JPGs appear very pixelated on an iPad

Tags:

safari

ipad

Our website appears fine on a Mac. However, on an iPad, the home page slider images appear very very pixelated.

I've had a look at [this article][2] and changed the JPGs to progressive, and cleared the server cache, and the iPad Safari cache, yet the issue remains.

Help appreciated.

like image 386
Insight Avatar asked Sep 26 '18 01:09

Insight


1 Answers

From this answer, using background-attachment: fixed with background-size: cover causes issues on most mobile browsers. You can try using background-attachment: scroll. This won't give your desired effect, but you'll see the images at least. You could use a media-query or two to limit it to devices that are tablets or phones by using @media screen and (max-device-width: 1024px){}

OR

You can use background-position: scroll and include some javascript that will keep the image at the scrolled position (keeping it at the top of the window): DEMO

like image 119
Insight Avatar answered Sep 30 '22 18:09

Insight