[英]How to change Image Loading Order (for Lightbox)
I've got a page with a lot of images (thumbnails). 我的页面上有很多图像(缩略图)。 You should be able to expand the images via Lightbox.
您应该能够通过Lightbox展开图像。 I need to encourage the browser to load the image in the Lightbox before any other image (thumbnail).
我需要鼓励浏览器先在灯箱中加载图片,然后再加载其他图片(缩略图)。
I remember some articles (I can't find anymore) on how to influence the loading mechanism of the browser (use a different subdomain to allow another thread), but I'd like to know whether there might be other options (ie without additional subdomains). 我记得一些文章(我找不到了)关于如何影响浏览器的加载机制(使用不同的子域来允许另一个线程),但是我想知道是否可能有其他选择(即,没有其他选择)子域)。
To clarify the issue: 为了澄清这个问题:
Are there any tutorials/papers/views on this issue? 有没有关于这个问题的教程/论文/观点?
只是在我的自定义队列管理器中使用jQuery $('<img>').attr('src', ...)
,它限制了浏览器以1比1的方式加载图像,因此可以加载其他图像页面上可能显示的图像(例如灯箱中的图像)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.