You are here: Re: imagecopyresampled() Help Needed « PHP Programming Language « IT news, forums, messages
Re: imagecopyresampled() Help Needed

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

 

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

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