21295 Posts in 5734 Topics by 2602 members
| Go to End | ||
| Author | Topic: | 603 Views |
-
Re: Responsive Image Class idea

17 January 2013 at 9:37am
Haven't used it but stumbled onto this "Device Aware" SS module on github: https://github.com/colymba/Device-Aware. Seems to have a lot of control over images, not sure if SS3 compatible though.
-
Re: Responsive Image Class idea

18 January 2013 at 2:40am
Thanks a lot, I'll take a look. At first glance it looks a bit clunky for the templates and it's trying to detect the mobile device via the user agent, which is probably not the best way to go about it but it's a nice little module to start hacking with and I think I might be able to take bits from responsive images and merge them into this to get it working how I'd like. Thanks, good find!
-
Re: Responsive Image Class idea

18 January 2013 at 3:18am
A little off topic, but I've never fully understood the hate for User Agent Detection. The way I see it its propbably accurate in over 95% of the cases. Sure their are a few devices that may send inaccurate user agents (I'm thinking embeded system devices etc) but beyond that its geeks changing their user agent for a reason. IF someone on their adroid devices changes it push a Chrome or Opera desktop user string its because they want a desktop experience. I'm a big fan of user agent detection with feature sniffing in the front end. Device says its an iphone in the user agent, check in for touch in front end and you're golden.
-
Re: Responsive Image Class idea

18 January 2013 at 3:23am Last edited: 18 January 2013 5:49am
Yeah, that's fine if you need that information but all I want to know is what the viewport resolution is. I don't really care what they're browsing on and probably shouldn't unless I'm writing a webapp which uses mobile-specific features.
EDIT: still trying to work out what the code is doing with the mobile detection module. My reply edited for brevity.
| 603 Views | ||
| Go to Top |



