Author Topic: Auto-Thumbnailer/Auto-Resize Error  (Read 3983 times)

0 Members and 1 Guest are viewing this topic.

Offline Adzi

  • Pre-Newbie
  • Posts: 4
    • View Profile
Auto-Thumbnailer/Auto-Resize Error
« on: October 13, 2008, 11:44:01 AM »
Hi Guys,
I've just installed a fresh copy of 4Images onto my webserver using Fantastico auto-installer and everything seems to be fine except for that whenever I use the Auto-Thumbnail/Auto-Resize utility - I get the following error;

Quote
Create thumbnail for: IMG 0463 (IMG_0463.JPG) ....   
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9216 bytes)in /home/adzinet/public_html/gallery/includes/image_utils.php on line 80

Any Help?

Cheers  :D

Offline DilnüvaZ

  • 4images Moderator
  • Hero Member
  • *****
  • Posts: 527
  • Gönül Okşayıcı
    • View Profile
    • Nuvanda Resimlere Dair Ne Varsa
Re: Auto-Thumbnailer/Auto-Resize Error
« Reply #1 on: October 13, 2008, 11:55:26 AM »
i think; you must add in globals.php before ?>

Code: [Select]
ini_set("memory_limit" , "80M");

Offline Adzi

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Auto-Thumbnailer/Auto-Resize Error
« Reply #2 on: October 13, 2008, 03:04:52 PM »
Fantastic! Solved the problem!

Many Thanks  :D :D

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Auto-Thumbnailer/Auto-Resize Error
« Reply #3 on: October 13, 2008, 03:09:15 PM »
Another possible solution is use ImageMagick or NetPBM instead of GD
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)