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!
|