You are here: Re: File Upload Problem with Thumbnails « PHP Programming Language « IT news, forums, messages
Re: File Upload Problem with Thumbnails

Posted by shimmyshack on 03/26/07 15:12

On 26 Mar, 15:48, Willem Bogaerts
<w.bogae...@kratz.maardanzonderditstuk.nl> wrote:
> > 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/

well of course 2*8*1024^2/30 !

 

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

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