Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of sandosh  >  Flash Img  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: readme
Class: Flash Img
Display images loading with a progress bar
Author: By
Last change: update
Date: 2005-04-11 02:16
Size: 868 bytes
 

Contents

Class file image Download
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!