Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-20 Thread Marcin Cieslak
Brion Vibber bvib...@wikimedia.org wrote: * INCLUDE THE SVG IN SOURCE CONTROL! (...) We'll develop some best practices about how to switch in high-res versions and whether it's better to use the SVGs or double-sized PNG rasterizations. You don't need to use them now, just make sure the

Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-20 Thread Derric Atzrott
One of possible solutions (cerainly not sufficient) is to ask browsers to send us image/svg+xml in their HTTP Accept: line. Relevant Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=240493 got wonfixed in January 2012 after 8 years of discussion (good read!) That is actually really

Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-20 Thread Jon Robson
Is there a good way to detect SVG support via Javascript?  I'm not fond of this solution, but if we could detect SVG support via Javascript we could change all the images on the page out for SVG versions of them.  Having little experience modifying the Mediawiki core though, I'm not sure how

Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-19 Thread Nischay Nahata
On Tue, Jun 19, 2012 at 5:19 AM, Brion Vibber br...@pobox.com wrote: On Mon, Jun 18, 2012 at 4:43 PM, Platonides platoni...@gmail.com wrote: My concern are images inside articles, where a big screen user will want |500px but a small screen one |120px. Maybe we should move to a size

Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-19 Thread Sébastien Santoro
On Tue, Jun 19, 2012 at 1:43 AM, Platonides platoni...@gmail.com wrote: My concern are images inside articles, where a big screen user will want |500px but a small screen one |120px. Maybe we should move to a size specification dependant on the clientWidth. This is a concern seam carving

Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-19 Thread Jon Robson
This also concerns me but luckily it's concerning others too. This is an interesting article here about the current state of adaptive images if you haven't read it: http://html5doctor.com/html5-adaptive-images-end-of-round-one/ On Mon, Jun 18, 2012 at 4:49 PM, Brion Vibber br...@pobox.com wrote:

[Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-18 Thread Brion Vibber
Well, the future is here -- Apple is now shipping a laptop with a high-resolution 2880x1800 screen (MacBook Pro with Retina display), optimized for a sharper display at traditional screen sizes. I have one here on my desk and oh, is that screen beautiful. :) We can reasonably expect such displays

Re: [Wikitech-l] Planning for the future: prepare high resolution icons and images in your code

2012-06-18 Thread Brion Vibber
On Mon, Jun 18, 2012 at 4:43 PM, Platonides platoni...@gmail.com wrote: My concern are images inside articles, where a big screen user will want |500px but a small screen one |120px. Maybe we should move to a size specification dependant on the clientWidth. That's really a separate issue,