Active
Project:
Responsive Images
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2011 at 21:50 UTC
Updated:
24 Feb 2012 at 17:06 UTC
Small and large is cool. But what about sites that are optimizing for more than 2 devices. For example, phone, tablet and desktop. It would be great if the user could devine an arbitrary number of styles. Note, I haven't actually tried the module yet but just read te description on the project page so forgive me if this is already possible.
Comments
Comment #1
ruplSeems like this is possible to implement:
https://github.com/filamentgroup/Responsive-Images/blob/5b0db40c2b08e58a...
Comment #2
anthonyR commentedI think this definitely is something for the future of responsive/adaptive images.
Like the project at http://adaptive-images.com/ (not Drupal specific)
Comment #3
kingfisher64 commentedI'd love to see this is feature in the latest versions. I was thinking of precicely this once used. It's inevitable that we are going to want to display different images for different devices not just small and large.
xsmall, small, medium, large, xlarge and xxlarge would probably accomodate all devices and all screen resolutions.
Can we have this in the next beta version?
Comment #4
kingfisher64 commentedany chance of multiple sizes Sven in a new release?
small & large is not enough.
thumbnail, small, medium, large, xlarge would be great.
Comment #5
chrisjlee commentedWouldn't that mean double the http requests (4 instead of 2 if you have 4 different breakpoints)?
Comment #6
ruplNope, because JS figures out which one you want then asks for only that resolution. It doesn't work like CSS, with successive MQ causing successive requests.