you must not include the image data directly. ;) try calling it: <img src="getthumb.php?img=some&x=128&y=128">
----- Original Message ----- From: "Michael Sullivan" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, June 09, 2005 7:58 PM Subject: [php-list] Problem with headers >I found a script for creating thumbnails that I can use for the index of > my digital photo website. I've integrated the thumbnail script as a > function but I'm running into a problem: My thumbnails created > on-the-fly won't display because I have print statements earlier in the > script. I get this error: > > Warning: Cannot modify header information - headers already sent by > (output started at /home/michael/webspace/html/camera/directory.php:5) > in /home/michael/webspace/html/camera/directory.php on line 116 > > and then a bunch of gibberish characters that look to me like an attempt > to translate binary data into ASCII characters. Is there a way I can > make my text and thumbnails get along? > > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > > > > -------------------------------------------------------------------------------- > Yahoo! Groups Links > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/php-list/ > > b.. To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
