r1pexpb / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

Is there a maximum file/image size that timthumb can handle? Can it be changed? #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there some type of limit on file/image sizes that timthumb can handle? I 
can't get it to work for my 4000x3000 resolution images.  Is there a 
setting I have to change in the code? 

What steps will reproduce the problem?
1. I have 4000x3000 px images.
2. Timthumb cannot create thumbnails out of them. The broken image symbol 
appears in the browser.
3. If I use smaller images like 1024x768 it works fine.

What is the expected output? What do you see instead?
I expect thumbnails, but i don't get any from large images. Do I need to 
change some code?

What version of the product are you using? On what operating system?
Not sure what version. 1.09 ?

Please provide any additional information below.

Original issue reported on code.google.com by TruSktr on 3 Mar 2010 at 3:18

GoogleCodeExporter commented 9 years ago
I just found this limit myself,  If I try to create a thumb on a file 4000px 
wide, I get I broken image. If I reduce 
the image down to 3000px wide it works fine.

Original comment by nuvio....@gmail.com on 18 Mar 2010 at 4:36

GoogleCodeExporter commented 9 years ago
I just found this problem today, and if you open the timthumb.php file and 
search for "limit", the first result 
should be a line that says limit: 30M, change that to whatever limit you would 
lke.

Original comment by abhorc...@gmail.com on 15 Apr 2010 at 6:08

GoogleCodeExporter commented 9 years ago
abhorcosm has the solution. The restriction is based purely upon the amount of 
memory
you want to use on the server. If you increase the value then more memory can be
used, however this may mean your server will go slower, so you have to get a 
careful
balance between the two.

Original comment by BinaryMoon on 26 Apr 2010 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by BinaryMoon on 26 Apr 2010 at 8:33