I have a serious problem now working with image class
i have a code like this
in
thumb.php
--------------------------
Code: Select all
$i = new imagethumbnail_corners();
//$i = new imagethumbnail_dropshadow();
//$i = new imagethumbnail_blackandwhite();
$i->open("../_images/".$_GET['imageName']);
$i->setX(100);
//$i->setY(100);
$i->clipcorners();
header("Content-type: image/jpeg;");
$i->imagejpeg();---> http://rama/kankash.com/gallery/_gui/th ... WHqTHR.jpg
it returns a thumb of the jpeg file
the problem is in my personalized code i can not reach the jpeg file via src attribute
like this
usage.php
Code: Select all
<img src="<?php echo("http://rama/kankash.com/gallery/_gui/thumb.php?imageName=../_images/longShuts/93133256.6ZWHqTHR.jpg"); ?>">