W3C home > Mailing lists > Public > public-respimg@w3.org > September 2014

Re: Title of the spec may cause heartache

From: Attiks <attiks@gmail.com>
Date: Tue, 23 Sep 2014 08:43:00 +0200
Message-ID: <CAM7OHzsDzRh2D2hJ3UcSsxr+U=1dQ3chR2Be0e0CWnjBE85XDw@mail.gmail.com>
To: John Albin Wilkins <john@albin.net>
Cc: Christopher Schmitt <schmitt@christopher.org>, Jason Grigsby <jason@cloudfour.com>, Odin Hørthe Omdal <odinho@opera.com>, "public-respimg@w3.org" <public-respimg@w3.org>
Hi,

I don't want to spoil it, but if you use an img with src and srcset, the
image (src) will be prefetched by most browsers, resulting in 2 downloads,
we faced this problem implementing a simple image formatter for Drupal. We
decided to switch back to using the picture tag with just 1 source tag.

Regardless of the above, you are right, if img + srcset can be used, use it



On Tue, Sep 23, 2014 at 7:24 AM, John Albin Wilkins <john@albin.net> wrote:

> Thanks for making the distinction clearer, Jason!
>
> Your post has kicked off a good discussion in the Drupal issue queue. We
> currently have the old-style, picture element-only implementation in our
> Drupal 8 alpha release software and need to make sure we get the 75%
> use-case of srcset+sizes implemented now before the official 8.0 release.
> https://www.drupal.org/node/2334387
>
>  - John
>
>
>
> On Tue, Sep 23, 2014 at 4:30 AM, Christopher Schmitt <
> schmitt@christopher.org> wrote:
>
>> Thanks for writing this, Jason!
>>
>> C.
>>
>> On Sep 22, 2014, at 3:18 PM, Jason Grigsby <jason@cloudfour.com> wrote:
>>
>> On Mon, Sep 22, 2014 at 8:05 PM, Odin Hørthe Omdal <odinho@opera.com>
>> wrote:
>>
>>>
>>> I've very seldomly seen any article mentioning responsive images saying
>>> that "you almost always want srcset+sizes, sometimes if you really want
>>> you can *add* media".
>>
>>
>> Done.
>> http://blog.cloudfour.com/dont-use-picture-most-of-the-time/
>>
>> Was working on that article when I raised the issue on this list. Wanted
>> to check to see if I was the only one with this concern before I finished
>> it.
>>
>>
>>
>
>
> --
> John Albin Wilkins
> john@albin.net
> @JohnAlbin, etc.
>
Received on Tuesday, 23 September 2014 06:43:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:12 UTC