| 
	
 | 
 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/
 
  
Navigation:
[Reply to this message] 
 |