HN user

jaylin

47 karma
Posts0
Comments19
View on HN
No posts found.
[GET] "/api/user/jaylin/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories

The simplest answer is just to double the dimensions of the image then use CSS to make it the right size.

So if you want to create an HD image at 200 x 200 on a Retina display, create the image at 400 x 400 then use CSS to control the HD image down to 200 x 200: img { width:200px; height:200px; }.

The HD images are still 72 dpi resolution.

The tricky part is then preventing non-HD devices from unnecessarily downloading the larger images.

[dead] 14 years ago

exactly. Not all the web application needs <100ms roundtrip anyway.

[dead] 14 years ago

It all depends on the location of server. The wifi version will be better.

[dead] 14 years ago

HTML5 browsers only. Mainly targets smart TV market in the future. It works with 3G/4G and wifi. Hey, Geoffrey, interested in making some cool HTML5 apps together?

[dead] 14 years ago

Ping me if you want to see more cool stuffs on de Mobo.