Member
Member
Ralf   2013-02-13, 16:11
#1

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

Member
Member
sbillard   2013-02-13, 20:39
#2

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.

Member
Member
kagutsuchi   2013-02-13, 20:49
#3

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

Member
Member
Ralf   2013-02-13, 21:35
#4

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

Cheers
Ralf

Administrator
Administrator
acrylian   2013-02-13, 22:13
#5

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

Member
Member
kagutsuchi   2013-02-14, 04:14
#6

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?

Member
Member
sbillard   2013-02-14, 04:57
#7

Right

Member
Member
kagutsuchi   2013-02-16, 03:10
#8

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.