https://bugzilla.wikimedia.org/show_bug.cgi?id=36198

Jon <jrob...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrob...@wikimedia.org

--- Comment #2 from Jon <jrob...@wikimedia.org> 2012-04-24 13:10:09 UTC ---
This is a tricky problem
There are libraries that deal with this http://css-tricks.com/foresight-js/ but
adding a library might be overkill for such a thing

There are also various techniques we can use to serve the correct images
including these:
http://24ways.org/2011/adaptive-images-for-responsive-designs
http://24ways.org/2011/adaptive-images-for-responsive-designs-again

I don't know enough about how we choose the images to serve to comment any
further on this... but we must bear in mind that an image loads as soon as it
is encountered in markup.

I had a little play myself with another idea which was to wrap images in a
noscript tag and use some javascript to provide better resolution photos:
http://jonrobson.me.uk/wikipedia/adaptive-images.html

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to