html - What is the most efficient way of loading multiple high-res images on one page? -
i'm building site has photography section different photographers. want same style vice articles images on 1 screen – no sliders or jquery plug ins, 1 after other. best method of either loading them or compressing them keep quality reduce size?
the efficient way in terms of writing markup simple img tag.
<img src="your image"> for more responsive layout, may want use css , background images.
in terms of compression, jpg way go.
in terms of 'most efficient way handle bandwidth' you'd want place images on cdn.
in terms of 'most efficient way handle usability standpoint' may wan consider 'lazy load' images aren't fetched until scroll viewport.
Comments
Post a Comment