PHP Classes

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-05-16 (3 days ago) RSS 2.0 feedNot enough user ratingsTotal: 1,061 This week: 15All time: 3,421 This week: 31Up
Version License PHP version Categories
preload-images 1.0.7GNU 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
Name: riccardo castagna is available for providing paid consulting. Contact riccardo castagna .
Classes: 3 packages by
Country: Italy Italy
Age: 49
All time rank: 152261 in Italy Italy
Week rank: 32 Up3 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedbimages (6 files)
Plain text file class.preloadimages.php Class file class
Plain text file config.php Conf. dbname dbuser
Plain text file index.php Example example first page
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
  Image file img02.jpg Data image
  Image file img03.jpg Data image
  Image file img04.jpg Data image
  Image file img05.jpg Data image
  Image file img06.jpg Data image

 Version Control Unique User Downloads Download Rankings  
This week:15
All time:3,421
This week:31Up