masterexploder / PHPThumb

PHP Thumbnail & Image Manipulation Library
http://phpthumb.gxdlabs.com
980 stars 264 forks source link

Not working when image size greater than 1.5 MB #100

Closed ApofisXII closed 10 years ago

ApofisXII commented 10 years ago

I don't know if that's suppose to happen... It works with jpg until 1.5 MB, with image ex. 1.8 MB it just stops, lefting the page incomplete. Am I missing something? screen

cbabos commented 10 years ago

I think its a memory limit problem. Any error message from the php error log?

On Thu, Oct 24, 2013 at 2:47 PM, ApofisXII notifications@github.com wrote:

I don't know if that's suppose to happen... It works with jpg until 1.5 MB, with image ex. 1.8 MB it just stops, lefting the page incomplete. Am I missing something? [image: screen]https://f.cloud.github.com/assets/5765363/1398811/367283da-3caa-11e3-9d22-71799aa89f93.png

— Reply to this email directly or view it on GitHubhttps://github.com/masterexploder/PHPThumb/issues/100 .

Babos Csaba

Zenwalk Magyarország http://hu.zenwalk.org

soportegoteam commented 10 years ago

Yep, try setting the php.ini memory_limit to 64MB for example.

try using ini_set('memory_limit’,’64M’); before the if statement, if it doesn’t work, you can still try to change it in and .htaccess or asking your hosting provider.

On 24 Oct 2013, at 14:47, ApofisXII notifications@github.com wrote:

I don't know if that's suppose to happen... It works with jpg until 1.5 MB, with image ex. 1.8 MB it just stops, lefting the page incomplete. Am I missing something?

— Reply to this email directly or view it on GitHub.

ApofisXII commented 10 years ago

It works! Thanks so much! :dart: