ZenphotoCMS Forum
Imagick No Thumbnails - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Imagick No Thumbnails (/thread-10842.html)



Imagick No Thumbnails - Ralf - 2013-02-13

Hi,

my Zenphoto Version is 1.4.4.1b and because the backend says that my server supports imagick I ticket the option on.

Mod rewrite is on too.

The problem is, that with imagick on, no thumbnails are displayed.
With gd library I have no problems with the thumbs.

I have ftp'ed to my site and in the cache folder I see that the thumbnails are generated.
What I noticed is - with gd library enabled the thumbs are named for example.
070804_ballonfest_063_100_cw100_ch100_thumb.jpg

Whith imagick a number (0 and 1) is appended after 'thumb' so the name is:
070804_ballonfest_063_100_cw100_ch100_thumb-0.jpg

When I look at the graphic property for a thumb in the frontend (rightclick with firefox) I see that the frontend refers to a thumb:
070804_ballonfest_063_100_cw100_ch100_thumb.jpg
which can not be found.

I am not sure what is the reason for this - maybe a wrong entry in the htaccess ?
The rewrite rules for the thumbs I have found in the htaccess are:
RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.
)/image/([^/\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]
RewriteRule ^(.*)/album/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2&album=true [L,QSA]

Any hints ?

Cheers
ralf




Imagick No Thumbnails - sbillard - 2013-02-13

If this fails only with Imagick we would assume that there is an error being generated from that module. We would have to know the error message generated.




Imagick No Thumbnails - kagutsuchi - 2013-02-13

This is a bug that has been fixed in the 1.4.5 branch. https://github.com/zenphoto/zenphoto/issues/207




Imagick No Thumbnails - Ralf - 2013-02-13

Thanks a lot, if it is a bug, it is not a problem with my server :-)

Cheers
Ralf




Imagick No Thumbnails - acrylian - 2013-02-13

@kagutsuchi: If that is a bug it should be fixed in 1.4.4.x as well, shouldn't it?




Imagick No Thumbnails - kagutsuchi - 2013-02-14

The fix probably should be merged into 1.4.4.x, but the merge won't be clean since there were other changes to the graphics libs that haven't made their way over yet.

1.4.4.x is the master branch, right?




Imagick No Thumbnails - sbillard - 2013-02-14

Right




Imagick No Thumbnails - kagutsuchi - 2013-02-16

This issue should now be fixed in the master (1.4.4.x) branch.