note 59263 rejected from function.exif-thumbnail by betz
| From: | betz@php.net | Date: | Thu, 01 Dec 2005 07:57:52 +0000 |
| Subject: | note 59263 rejected from function.exif-thumbnail by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99407@lists.php.net to get a copy of this message | ||
Note Submitter: djambalawa at gmail dot com
----
I'm just wondering how this would be used for a jpeg image kept in a mysql blob field - the
below doesn't seem to work;
$query = "select " . $datafield . " as imgdata from tblimage where fldimageidx =
" . $imgidx;
$result = mysql_query($query);
$data = mysql_fetch_assoc($result);
header("Content-type: image/jpeg");
echo exif_thumbnail($data["imgdata"]);