* grrr fuck... I hate when I forget things behind
[vsc.git] / img2.php
blob7940059fc9122ac8fb58bfb231a38b167cc99d14
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->dispatch ();
22 echo "\n".'(c) HabarNam - 2006';
23 //echo $a->debug();