The last time I saw someone asking why Safari on the iPad does not show some 1920x1440 jpeg with real size, and I solved this riddle. You should use progressive jpeg coding . However, I find another problem.
Let's say demo.jpg is progressive jpeg coding from 2000x3000, and I upload it to my site. Then I access it via url ... demo.jpg, Safari will show it with a size of 2000x3000, perfect.
Now I am creating the simplest html file called mypic.html. This html has only an img tag with src = demo.jpg or src = demo.jpg width = 2000 height = 3000 inside the body. Now I am accessing it through url ... mypic.html. This time Safari shows a very small question mark icon?
Does anyone know why the last case fails?
source
share