You are here: Re: imagecopyresampled not working « PHP Programming Language « IT news, forums, messages
Re: imagecopyresampled not working

Posted by Schraalhans Keukenmeester on 06/14/07 05:48

At Wed, 13 Jun 2007 12:10:16 -0500, Bint let h(is|er) monkeys type:

> Hello,
>
> I'm trying to create thumbnails of PNG images. I have code that used to
> work but doesn't seem to anymore. The resizing just seems to return black
> images, even though my source image is not black. Anyone know what could be
> the problem?
>
At first glance your code seems fine. So the question probably boils down
to: is there a valid image in $im to begin with?

When running into the situation: it used to work but now it doesn't, ask
yourself what might have changed. New host, new PHP version, changed
php.ini, paths, permissions, changed includes etc.
Add some debugging steps along the way if you can't think of what has
changed, set error_reporting(E_ALL) to catch helpful notices and warnings.

--
Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples','oranges') < 0"

 

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

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