FotoGalerie 6.9 thumbnail issue

Erweiterungen
Post Reply
isbe
Posts: 3
Joined: Thu 23. Jan 2014, 11:38

FotoGalerie 6.9 thumbnail issue

Post by isbe »

FotoGalerie plugin can not rebuild thumbnails on my system. It switches to a white page and
hangs there, and the first thumbnail existing in the series is deleted, but never recreated.
Upload and manipulation of the images is working fine, thumbnails are created at upload time.
Only the rebuild function fails.

It can be a missing package on the server. It is the same on a Debian Wheezy and
Ubuntu 13.04.
Is there anybody that can give me a hint?

Best Regards
Istvan
Gert
Posts: 2222
Joined: Sun 18. Nov 2012, 14:18

Re: FotoGalerie 6.9 thumbnail issue

Post by Gert »

Hello,

is the thums folder writable?

./content/plugins/fotogalerie/images/thumbs/

If you have uploaded the thumbnails by ftp, maybe there is a wrong owner, so php can't overwrite the thumbs. Try to give the thumbs writing permissions (666), or delete them by ftp,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
isbe
Posts: 3
Joined: Thu 23. Jan 2014, 11:38

Re: FotoGalerie 6.9 thumbnail issue

Post by isbe »

Hi Gert,

The folders has 777 and the files 666 permissions and are owned by www-data. The images
were uploaded via the plugin upload feature. The thumbnails are genereated automatically
as a part of the upload process.
PHP has surely access and permissions to the thumbnail files since the first one in the
galerie is deleted during the rebuild process.
I'm sure it is not a code issue but rather a server issue, probably some missing .deb package
since the same content uploaded to jmnet.dk is working as it should.
I'm just driven to crazy what I must have missed when I've prepared the server...

Best Regards
Istvan
isbe
Posts: 3
Joined: Thu 23. Jan 2014, 11:38

Re: FotoGalerie 6.9 thumbnail issue

Post by isbe »

I've got a solution from Christoph M. Becker

The problem is that imageantialias() is not supported in the stock Debian GD.
Removing line 137 "imageantialias($dstImage, true);" in plugins/fotogalerie/admin.php
solves the problem.

A big thanks to Christoph for this clever solution!

Best Regards
Istvan
Gert
Posts: 2222
Joined: Sun 18. Nov 2012, 14:18

Re: FotoGalerie 6.9 thumbnail issue

Post by Gert »

Hi Istvan,

I don't want to drop antialiasing, just because 1 of 5.000 downloaders has problems with it.

It's configurable now in the plugin config, under "thumbs", near bottom of config settings,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Post Reply