Class PHPFSPOT_IMG

Description

PHPFSPOT_IMG class

handles phpfspot's photos. It will output either the photo binaries or can also show error messages as a on-the-fly generated picture.

Located in /phpfspot_img.php (line 34)


	
			
Method Summary
 PHPFSPOT_IMG __construct ()
 void __destruct ()
 void showImg (integer $idx, [integer $width = 0])
 void showTagImg ( $tagidx, integer $idx)
Methods
Constructor __construct (line 42)

PHPFSPOT_IMG class constructor

  • access: public
PHPFSPOT_IMG __construct ()
Destructor __destruct (line 52)

PHPFSPOT_IMG class destructor

  • access: public
void __destruct ()
showImg (line 67)

sends the specified image to the browser

this function will send the specified image to the client - in the specified width. it also try's to create on-the-fly missing thumbnails via PHPFSPOT gen_thumbs function.

  • access: public
void showImg (integer $idx, [integer $width = 0])
  • integer $idx
  • integer $width
showTagImg (line 137)

sends a random photo of the requested tag to the browser

this function will send a random photo to the client. It is selected out by the provided $tagidx. It also try's to create on-the-fly missing thumbnails via PHPFSPOT gen_thumbs function.

  • access: public
void showTagImg ( $tagidx, integer $idx)
  • integer $idx
  • $tagidx

Documentation generated on Wed, 02 Jul 2008 20:41:03 +0200 by phpDocumentor 1.4.2