留言板

Responsive Images - global settings to add data attributes to img tags

Ryan Terwedo,修改在10 年前。

Responsive Images - global settings to add data attributes to img tags

New Member 发布: 1 加入日期: 12-8-18 最近的帖子
Many responsive image techniques require modifying img tags with additional data attributes, see here:

http://css-tricks.com/which-responsive-images-solution-should-you-use/

Also this is a good resource for responsive stuff:

http://mashable.com/2013/03/18/web-design-tools/


Would be great if there was a server setting where we could globally modify images based on some sort of convention. Alternatively or in addition to, integration with something like Matt's Adaptive images http://adaptive-images.com/ could work as well. However it would require that LR comes bundled all with high res images and relies on AI to scale them accordingly.... this of course also assumes we can find a workaround for it serving up images related to containers and device size, not just sending device width images along.
thumbnail
Ryan Terwedo,修改在10 年前。

RE: Responsive Images - global settings to add data attributes to img tags

Junior Member 帖子: 94 加入日期: 08-10-31 最近的帖子
Ooops... used wrong profile