Posted by Janwillem Borleffs on 09/27/05 22:33
ralphNOSPAM@primemail.com wrote:
> When I execute this script, nothing displays on my browser. I'm trying
> to verify my image is being reduced by 50% before I try to write it to
> a file:
>
Two things you can try:
1. Use an empty string as the second parameter (as the manual suggests):
imagejpeg($image_p, '', 100);
2. Send a Content-Type header (combined with suggestion #1):
header("Content-Type: image/jpeg");
imagejpeg($image_p, null, 100);
JW
[Back to original message]
|