Adam16 / embedded-image-preview

Prototype showing the lazy loading technique "Embedded Image Preview" (EIP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embedded Image Preview (EIP)

Using the Embedded Image Preview (EIP) technology presented here, we can load qualitatively different preview images from progressive JPEGs, depending on the application purpose, with the help of Ajax and HTTP Range Requests. The data from these preview images is not discarded but reused to display the entire image.

For a complete description of how it works, please look here: https://smashingmagazine.com/...

You will find a running version here:


If you want to try it out yourself you need a PHP capable web server. If you already have PHP installed use the _server/server.bat or _server/server.sh to start PHPs builtin development server. Then point your browser to one of the following URLs:

About

Prototype showing the lazy loading technique "Embedded Image Preview" (EIP)

License:MIT License


Languages

Language:PHP 97.1%Language:CSS 2.0%Language:Batchfile 0.4%Language:Shell 0.4%