...
首页> 外文期刊>A List Apart >Responsive Images: How they Almost Worked and What We Need
【24h】

Responsive Images: How they Almost Worked and What We Need

机译:响应式图像:它们几乎如何工作以及我们需要什么

获取原文
           

摘要

With a mobile-first responsive design approach, if any part of the process breaks down, your user can still receive a representative image and avoid an unnecessarily large request on a device that may have limited bandwidth. But with several newer browsers implementing an “image prefetching” feature that allows images to be fetched before parsing the document’s body, some of the web's brightest developers are abandoning responsive images in favor of user agent detection, at least as a temporary solution. For us standardistas, UA detection leaves a bad taste in the mouth. More importantly, as the number and kinds of devices continue to grow, UA detection will quickly become untenable—just as browser detection did back in the bad old days before web standards. What's really needed, argues Mat Marquis, is a new markup element that works the way the HTML5 video element works. Sound crazy? So crazy it just might work.
机译:使用移动优先的响应式设计方法,如果过程的任何部分出现问题,您的用户仍然可以接收到代表性的图像,并且可以避免在带宽有限的设备上发生不必要的大请求。但是,随着一些更新的浏览器实现“图像预取”功能,该功能允许在解析文档的正文之前先获取图像,一些网络上最聪明的开发人员正在放弃响应性图像,而转而使用用户代理检测,至少作为一种临时解决方案。对于我们的标准化人员而言,UA检测会在口中留下不良味道。更重要的是,随着设备数量和种类的不断增长,UA检测将很快变得站不住脚,就像浏览器检测早在Web标准出现之前那样。 Mat Marquis认为,真正需要的是一个新的标记元素,其工作方式与HTML5视频元素的工作方式相同。听起来疯了吗?太疯狂了,它可能会起作用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号