Reply to Re: File Upload Problem with Thumbnails

Your name:

Reply:


Posted by Willem Bogaerts on 03/26/07 14:48

> I have a very simple file upload script which creates a thumbnail of
> the file (jpg) upon uploading. This works fine with small images,
> however, if i try to upload a file over about 1mb the thumbnail
> dosen't show. Any ideas ?
> Thanks for any advice.

Does the full jpg gets uploaded properly? In that case, it is not in the
upload settings.

I guess that you use the gd image functions. In that case, note that a
jpg is a compressed image. To work with it, it must be uncompressed. If
you want to resample it, you'd probably have both the original and the
target uncompressed in memory at some point. If you configure PHP to use
only a limited amount of memory, that memory may be too little, even if
the uploaded file is not that big. Does increasing the memory limit help?

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

[Back to original 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

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