> From: gareth@xxxxxxxxxxxxxxxxxx [mailto:gareth@xxxxxxxxxxxxxxxxxx] > Sent: Thursday, April 14, 2005 3:04 PM > I get my image resized. (functions.php is where all my fuctions are > stored) However if I place anything after the imageresize it doesnt > show that. Eg echo"hello'; does nothing. If anything goes before it the > whole page doesnt work. > > Any ideas why this is happening and how I can work around it? Because You set the header to be an image: // Content type header('Content-type: image/jpeg'); I´m on my way out, so I don´t have the time to test on this but start by outcomment the header, return the value instead: // Output Return imagejpeg($image_p, null, 100); And call it like: $new_img = imageresize('100', '75', 'pages/1.jpg'); Print "<img src=\"$new_img\" alt=\"$new_img\">"; -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/Systemdeveloper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php