Posted by Richard Lynch on 03/15/05 18:16
> This function will return only the raw data for the new thumbnail
> image. Is there a way to output the thumbnail image directly to a <img>
> tag in my html file?
You *can* do that, but it's such a bad idea, I don't even remember how...
And not all browsers support it anyway.
> Is there a way to do this without storing the
> thumbnail into a tmp file?
Sort of.
Just put your script in thumbnail.php and do like this:
<img src=thumbnail.php?img_src=filename.jpg>
You'll need to add a line to actually call the thumb($img_src) or take out
the function stuff.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|