Page 1 of 1

With some pictures t

Posted: 11 Feb 2008, 00:28
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

hmmm, this is really

Posted: 11 Feb 2008, 17:42
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

Thumbnail is not cre

Posted: 11 Feb 2008, 21:53
by bard
Thumbnail is not created, but the 'thumbs' directory is created. It contains only the index.html.

It seems, you have p

Posted: 11 Feb 2008, 22:12
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

GD seems to work ok

Posted: 11 Feb 2008, 22:27
by bard