I have an hybrid iPad app loading html and javascript in a webview.

All the images are ok in ipads 1 and 2s but fuzzy in ipads 3.

I was thinking about some possible solutions:

1. Serve 2x images and show them at 50% in low res ipads.
2. Detect retina display and serve different images

How would you manage the different resolutions and image loading in different devices?