PHP Classes
elePHPant
Icontem

PreLoad Images: Generate page with preloaded images

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-07-09 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 1,080 All time: 3,395 This week: 426Up
Version License PHP version Categories
preload-images 1.0.8GNU General Publi...5HTML, Databases, Graphics
Description Author

This class can be used to generate page with preloaded images.

First, it can list images from a directory and store the list in a MySQL database.

The class can generate HTML with Javascript to preload all listed images in the user browser, so the next browsed pages that need the images can load much faster.

Innovation Award
PHP Programming Innovation award nominee
January 2010
Number 3


Prize: One copy of Delphi for PHP
Some sites have pages that need to present slide shows or otherwise present many images that need to be displayed without delay.

Preloading is a technique for accelerating the display of images in a Web browser. It consists in creating invisible image objects in Javascript that make the browser load the images in memory before they are presented.

This class provides a generic solution for preloading images in a Web page generated by PHP.

Manuel Lemos
  Performance   Level  
Name: riccardo castagna is available for providing paid consulting. Contact riccardo castagna .
Classes: 7 packages by
Country: Italy Italy
Age: 50
All time rank: 122649 in Italy Italy
Week rank: 44 Up3 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagedbimages (6 files)
Plain text file class.preloadimages.php Class file class
Accessible without login Plain text file config.php Conf. dbname dbuser
Accessible without login Plain text file index.php Example example first page
Accessible without login Plain text file viewimages.php Example example second page

  Files folder image Files  /  dbimages  
File Role Description
  Accessible without login Image file img01.jpg Data image
  Accessible without login Image file img02.jpg Data image
  Accessible without login Image file img03.jpg Data image
  Accessible without login Image file img04.jpg Data image
  Accessible without login Image file img05.jpg Data image
  Accessible without login Image file img06.jpg Data image

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,080
This week:0
All time:3,395
This week:426Up