Login   Register  
PHP Classes
elePHPant
Icontem

Class: PreLoad Images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of riccardo castagna  >  PreLoad Images  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PreLoad Images
Base name: preload-images
Description: Generate page with preloaded images
Related classes: , , , , , , ,
Version: -
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 983 users
All time rank: 3012
Week users: 0 users
Week rank: 2420
Picture of riccardo castagna
Author: riccardo castagna is available for providing paid consulting. Contact riccardo castagna .
Packages: 3 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Age: 43
All time rank: 136457 in Italy Italy
Week rank: 1620 Down56 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
January 2010
Number 3
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

  Freshmeat project  
Project record: preload-images
Popularity score: 15.78
Vitality score: 27.5

  User ratings  
Not yet rated by the users

  Applications that use this class  
Link Description
booking software front end demo web application in ajax php mysql (Innodb) - back end is under devolpment. In this project all images are preloaded
Add link image If you know an application of this package, send a message to the author to add a link here.
  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  /  Files folder image 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

Download all files: preload-images.tar.gz preload-images.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.