use this if you want to embed a thumbnail directly on the
HTML page without writing it first to a file:
<?php
$image = exif_thumbnail($file, $width, $height, $type);
echo "<img width='$width' height='$height'
src='data:image/gif;base64,".base64_encode($image).&quo
t;'>";
?>
----
Server IP: 194.8.30.16
Probable Submitter: 81.193.184.223
----
Manual Page -- http://www.php.net/manual/en/function.exif-thumbnail.php
Edit -- https://master
.php.net/note/edit/78357
Del: integrated -- h
ttps://master.php.net/note/delete/78357/integrated
Del: useless -- http
s://master.php.net/note/delete/78357/useless
Del: bad code -- htt
ps://master.php.net/note/delete/78357/bad+code
Del: spam -- https:/
/master.php.net/note/delete/78357/spam
Del: non-english --
https://master.php.net/note/delete/78357/non-english
Del: in docs -- http
s://master.php.net/note/delete/78357/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78357
Reject -- https://mast
er.php.net/note/reject/78357
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|