RE: [PHP] Create Thumbnail from Blob online
| From: | joakim dot andersson at cybercom dot se | Date: | Tue, 16 Jul 2002 12:00:20 +0000 |
| Subject: | RE: [PHP] Create Thumbnail from Blob online | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107841@lists.php.net to get a copy of this message | ||
> From: Tommi Trinkaus [mailto:trinkaus@complete-gmbh.com]
> Sent: Tuesday, July 16, 2002 1:25 PM
> Hi,
>
> i stored some jpegs in an mysql-database (one field for data,
> one for type)
> and i'm able to download them and to show them in an <img> tag.
> But wat i want is to use the stored data to create a
> thumbnail to show it
> within the browser without creating a file - how can i pass
> the mysql-blob
> directly to a gd-function like imagecreate() or imagejpg() ??
> (gd-library is
> working well)
Take a look at imagecreatefromstring()
>
> thank you for any answer, tommi
>
You're welcome!
Regars
Joakim Andersson