Error making thumbnails (some works ok, some don't)

Phoca Gallery - image gallery extension
bard
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jan 2008, 22:35
Contact:

With some pictures t

Post by bard »

With some pictures the thumbnail creation just stops and the popup window remains blank(white).
I have tried with both several and just one picture in the directory: Using only one picture, it sometimes makes a thumbnail of the picture ok, and sometimes the creation just stops and the popup remains blank.
I can not understand that it should have anything with memory limits to to, because the error can occur with smaller files than with larger files working ok. I have placed two examples here:
http://skogsholm.dyndns.org/pics/MakesError.JPG (1.2M)
http://skogsholm.dyndns.org/pics/ThumbnailOK.JPG (2.0M)

When placing ThumbnailOK.JPG in an empty directory and adding it to the gallery, the thumbnail is created ok and added to the database.
When placing MakesError.JPG in the (same) empty directory and adding it to the gallery, the popup window for selecting the file becomes plain white when the thumbnail shall be created.

I have no idea how to debug this, as no error message is displayed even if "display_erros = On" in php.ini

My box:
FreeBSD: 6.2
Apache: 2.2.6
PHP: 5.2.5
gd: bundled (2.0.34 compatible), FreeType Version 2.3.5
Joomla! 1.5 Stable
Phoca Gallery 1.3.5

I really would like to use this gallery because it supports pictures located in a directory tree, and does not need pictures stored in one single folder like RSGallery2. Great work Jan!

Best regards,
BĂĽrd S, Norway
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

hmmm, this is really

Post by Jan »

hmmm, this is really problem, because I have the same configuration on the server like you:
FreeBSD 6.2, apache2.2.0,php5.2.4,gd2.0
and I have tested it, see:
https://www.phoca.cz/phocagallery/demo/index.php/test

So I think, there is no problem with the image (image is not broken). If there is no problem with memory, the last is: GD...

If you get a plain white, see your server disc... is the thumbnail of an image created (we should know it the plain white page is displayed before or after the thumnail creating)

Jan
If you find Phoca extensions useful, please support the project
bard
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jan 2008, 22:35
Contact:

Thumbnail is not cre

Post by bard »

Thumbnail is not created, but the 'thumbs' directory is created. It contains only the index.html.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

It seems, you have p

Post by Jan »

It seems, you have permissions to write the data on your disc ... try to run some other php script which uses GD, if there are the same problems
If you find Phoca extensions useful, please support the project
bard
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jan 2008, 22:35
Contact:

GD seems to work ok

Post by bard »

Post Reply