PHP Classes
elePHPant
Icontem

Flash Img: Display images loading with a progress bar

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-04-11 (11 years ago) RSS 2.0 feedStarStarStar 55%Total: 4,264 All time: 669 This week: 988Down
Version License Categories
flashimg 1.0GNU General Publi...Graphics, Flash
Description Author

This class can be used to display images that show a progress bar where they appear in an HTML page while the images are being loaded.

The images are actually loaded using a Flash animation applet that can load any image.

Since the images are not loaded directly by the browser, this class can be used to make it difficult for other sites to copy the images without authorization.

The Flash applet may also show an optional copyright notice text as image caption.

Picture of sandosh
Name: sandosh <contact>
Classes: 2 packages by
Country: India India

Details
Hi,

For setup notes, visit http://blog.sandosh.ih2h.net/2005/04/09/flashimg/

   1. Unzip the archive. You should find
          * flashimg.php - the php class file
          * images.php - images definition file
          * flashimg.swf - the flash file for loading the images
          * index.php - example file
   2. Edit the images.php file. Will look like this
      include("flashimg.php");
      $img = new ih2hFlashImg;
      //instantiate the class
      $img ->copyRight("© sandosh");
      //Assign default copyright message
      $img->addImg("sandosh","sandosh_alak.jpg",420,315);
      //parameters in order -> name, src, width, height, alt(to override copyright msg)
   3. Include this file in your pages and use
      $img->displayImg("sandosh");
      to display the flashimg, where parameter is the image name.
   4. All done!
  Files folder image Files  
File Role Description
Plain text file flashimg.php Class class file
Accessible without login Image file flashimg.swf Data Flash file
Accessible without login Plain text file images.php Aux. image list
Accessible without login Plain text file index.php Example example
Accessible without login Plain text file readme.txt Doc. readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,264
This week:0
All time:669
This week:988Down
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:66%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1567