Author Topic: Thumbnail Error  (Read 3586 times)

0 Members and 1 Guest are viewing this topic.

Offline TorchedFury

  • Newbie
  • *
  • Posts: 15
    • View Profile
Thumbnail Error
« on: March 23, 2005, 05:21:51 AM »
When I am creating a thumbnail I get this as an error for a few of my photos-
Code: [Select]
Create thumbnail for: 20 (20.jpg) ....   
Warning: imagecreatefromjpeg(): './../data/media/137/20.jpg' is not a valid JPEG file in /home/chris/public_html/gallery/includes/image_utils.php on line 71

   Error creating thumbnail!

Why is that, how do I correct it?

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: Thumbnail Error
« Reply #1 on: March 23, 2005, 05:36:28 AM »
Create thumbnail for: 20 (20.jpg) ....   
Warning: imagecreatefromjpeg(): './../data/media/137/20.jpg' is not a valid JPEG file in /home/chris/public_html/gallery/includes/image_utils.php on line 71
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)

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Thumbnail Error
« Reply #2 on: March 23, 2005, 08:19:33 AM »
This happens sometimes if the .jpg file is corrupted (could for example happen, when the image-resize process did not finish correctly)
Try to upload the picture again.
MAяTRIX