Author Topic: Thumbnails problem  (Read 4041 times)

0 Members and 1 Guest are viewing this topic.

Offline Andrey

  • Pre-Newbie
  • Posts: 1
    • View Profile
Thumbnails problem
« on: November 16, 2002, 01:30:26 AM »
I use for create the thumbnails GD Bibliothek (4image 1.7). When I auto-create the thumbnails and resize the images the program give me error:

Create thumbnail for: Michael Wentink & Beata (South Africa) (Mb_1.jpg) ....  
Warning: imagecreatefromjpeg: './../data/media/10/Mb_1.jpg' is not a valid JPEG file in /home/dance/dancesport-www/4images/includes/image_utils.php on line 71

Error creating thumbnail!

How can I solve this problem?

Thank you.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Thumbnails problem
« Reply #1 on: November 16, 2002, 10:06:17 AM »
It seems that the jpg file is corrupted. Sometimes images from digicams have no standard headers and php could not detect the files correctly.
Try to open the file in Photoshop (or any other image editor) and re-save the file.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search