Skip to content
Prototype showing the lazy loading technique "Embedded Image Preview" (EIP)
PHP CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_server Fix server router for correct ranges support Aug 18, 2019
example1
example2 Improved and fixed prototype Aug 18, 2019
example3 Improved and fixed prototype Aug 18, 2019
prototype Fixed typos and added smashing link Aug 22, 2019
LICENSE Initial commit Aug 16, 2019
README.md Improved and fixed prototype Aug 18, 2019

README.md

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:

You can’t perform that action at this time.