Creating of thumbnail - Error

Phoca Gallery - image gallery extension
SfranzT
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jun 2010, 09:02

Creating of thumbnail - Error

Post by SfranzT »

Hi, I couldn't find anything on google or in this forum about my problem with the gallery so I dare to post.

I often get an error while creating the thumbnails and it says type of image is not supported.
But I always use the same cam, it is always the same dimensions and nearly the same size and other images
are going through without a problem.

I just moved to another server to get more php memory and more webspace and I thought that will
solve the problem but it didn't.

I should also admit that I don't got a lot of knowledge in these topics.

It would be great to finally solve this error because I can't stand it anymore ... :evil:

Thx for any help or advice

Stefan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Creating of thumbnail - Error

Post by Jan »

Hi, which error do you get exactly? Thumbnails are made by GD library on your server, so maybe there will be some problem with working on images from your camera and GD library - maybe it will be only memory issue (if images are too large - size and resolution) in fact no server and no GD library can work with them - server is not like PC, there is more problems with memory as the server needs to work other parts (displaying sites, database, etc.)

Jan
If you find Phoca extensions useful, please support the project
SfranzT
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jun 2010, 09:02

Re: Creating of thumbnail - Error

Post by SfranzT »

Hi Jan,

the exact message is "The type of the image is not supported" and then it is trying to recreat the thumbnail but that
never works.
I don't think that the reason is on the server because I just changed the server and now I got enough memory and webspace.
The problem is still the same and it can't be the size or the resolution because it works with other files who are even bigger. It is also always jpeg. It is like the gallery would look at the pictures and says " No dude, I don't like that one"
Honestly it is totally random which pics are working. Could it be some configuration or settings in the gallery?
SfranzT
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jun 2010, 09:02

Re: Creating of thumbnail - Error

Post by SfranzT »

I just deleted the file and tried it again. This time it shows me another error ..

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 652 extraneous bytes before marker 0xd9 in /var/www/virtual/mylongestsummer.com/htdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/var/www/virtual/mylongestsummer.com/htdocs/images/phocagallery/melbourne/IMG_6354.JPG' is not a valid JPEG file in /var/www/virtual/mylongestsummer.com/htdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 652 extraneous bytes before marker 0xd9 in /var/www/virtual/mylongestsummer.com/htdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/var/www/virtual/mylongestsummer.com/htdocs/images/phocagallery/melbourne/IMG_6354.JPG' is not a valid JPEG file in /var/www/virtual/mylongestsummer.com/htdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 652 extraneous bytes before marker 0xd9 in /var/www/virtual/mylongestsummer.com/htdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/var/www/virtual/mylongestsummer.com/htdocs/images/phocagallery/melbourne/IMG_6354.JPG' is not a valid JPEG file in /var/www/virtual/mylongestsummer.com/htdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Sry my knowledge about this is shit so i ve no idea what that means ... hope u do
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Creating of thumbnail - Error

Post by Jan »

Hi, the GD function cannot work with this image, which means:

- The GD has some problem (I think not)
- The image has some problem which cannot be worked on your server GD library

But no idea how to solve it, e.g. try to install Joomla! on localhost and test if the images will get the same problem, if not then it is a server problem, if yes, then it is an image problem.

Jan
If you find Phoca extensions useful, please support the project
Post Reply