|
Posted by Chung Leong on 04/16/06 18:15
Areric wrote:
> Ok all. I have a series of images stored in a db. Im trying to work on
> a script that will let me scale them based on user input. Ive hit a bit
> of a roadblock on this line.
>
> $orig =
> imagecreatefromjpeg("DisplayImage.php?imageId=".$this->mImage->GetImageId());
>
> Specifically it cant sopen that file.
>
> DisplayImage.php is pretty simple, it just displays an image from the
> db without writing to a file.
>
> Im thinking the problem is in how im pathing to DisplayImage.php.
>
> This file sits one level lower than most things so it should be
> ../displayImage, but i tried that and no luck.
>
> Any ideas whats wrong with that line?
Why don't you just read from the database directly and use
imagecreatefromstring()?
Navigation:
[Reply to this message]
|