|
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]
|