* added the xhtml,css and any browser compatibility bragging links.
[vsc.git] / img2.php
blob2c4e73be0c09426f2a47db52ecb67fa48af063ee
1 <?php
2 error_reporting(E_ALL);
3 /**
4 * the file that outputs the images
5 * incoming variables:
6 * @ themeName _GET
7 */
8 ob_start();
9 require ('config.inc.php');
10 require (LIB_PATH.'functions.inc.php');
12 $imgDir = 'pics';
13 $id = tsPage::getRequest('id');
14 $resizeW = tsPage::getRequest('w');
15 $resizeH = tsPage::getRequest('h');
17 $a = new tsImage2 ( tsImage2::getPath ($id) );
18 $a->testPath(tsImage2::getPath ($id));
19 //if (!empty($resizeH) && !empty($resizeW))
20 // $a->resize($resizeW,$resizeH);
21 $a->parse();
22 //echo "\n".'(c) HabarNam - 2006'
23 echo $a->debug();