var $db;
var $parent;
+ /**
+ * PHPFSPOT_IMG class constructor
+ */
public function __construct()
{
$this->parent = new PHPFSPOT;
} // __construct()
+ /**
+ * PHPFSPOT_IMG class destructor
+ */
public function __destruct()
{
} // __desctruct()
+ /**
+ * 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.
+ */
public function show($idx, $width = 0)
{
$details = $this->parent->get_photo_details($idx);