You are here: Re: i cannot save resized images « PHP Programming Language « IT news, forums, messages
Re: i cannot save resized images

Posted by Mike Willbanks on 10/25/05 05:20

> I am testing it on a single file, but it destroys the image. Does
> imagejpeg write the new file in the current directory ? Or do I need to
> do an fputs() ?

Close, it is actually the current working directory. So if this was
done via include it will be in that path. Also what I suggest doing is
checking what the program is doing. My thought is that you have a
notice or warning being generated and that is causing the corruption of
the image, if it is being generated at all.

Try just letting it output to the browser without a header. You should
be able to see more details that way. Also turn your error reporting to
E_ALL via error_reporting(E_ALL); at the beginning of the script.

--
Mike Willbanks
Zend Certified Engineer
http://www.digitalstruct.com

 

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

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