You are here: Displaying EXIF-Thumbnails? « PHP Programming Language « IT news, forums, messages
Displaying EXIF-Thumbnails?

Posted by Udo Pecher on 12/02/07 20:20

In order to preview fotos I tried to read out the exif-pictures.

$exif_picture = exif_thumbnail($picture, $width, $height, $typ);
print("exif_width=" . $width);
print("exif_height=" . $height);

Here the width and height are printed correctly. But the following code
lines do not succeed:

header('Content-type: ' . image_type_to_mime_type($typ));
echo $exif_picture;

i.e. no picture is shown. Moreower the header-statement leads to the error

Cannot modify header information - headers already sent by (output started
at /home/www/webxyz/html/ausstellung_nav.php:6) in
/home/www/webxyz/html/ausstellung_nav.php on line 40


This error may be avoided when placing the header-statement just at the top
of the php-file. But even then thumbnails are not shown. Instead a lot of
letters are filling the screen.


Thanks for any help out
bahncompany.de
Udo Pecher

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация