Author Topic: Error creating thumbnail!  (Read 2768 times)

0 Members and 1 Guest are viewing this topic.

Offline quaqua

  • Pre-Newbie
  • Posts: 1
    • View Profile
Error creating thumbnail!
« on: September 13, 2010, 12:09:52 PM »
I use 4images for a wallpapers site. I've uploaded bulk wallpapers packs but there's a problem - not all have thumbnails.

When i try to use auto-thumbnailer to create thumbs i get this error:


Create thumbnail for: Bleach (140) (Bleach (140).jpg) ....  
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/wallpapers/domains/doamin.com/public_html/includes/image_utils.php on line 80

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: './../data/media/517/Bleach (140).jpg' is not a valid JPEG file in /home/wallpapers/domains/domain.com/public_html/includes/image_utils.php on line 80

   Error creating thumbnail!


Create thumbnail for: 485 (485.jpg) ....  
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24000 bytes) in /home/wallpapers/domains/domain.com/public_html/includes/image_utils.php on line 80



What can cause it ? How to fix it ?
I'd like to have thumbnails for all of the images on the site..
« Last Edit: September 13, 2010, 01:24:23 PM by quaqua »

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: Error creating thumbnail!
« Reply #1 on: September 13, 2010, 01:14:44 PM »
Hello and welcome to 4images forum.

The first two lines look like there is a corrupted image
The last error indicates that there is not enough server allocated memory to create thumbnail for that image. (more info: FAQ -> Fatal error: Allowed memory size of NN bytes exhausted and if you want get little more technical info: Thumnail error)
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)