Hi,
Anyone tried the &thumbFar=`T` setting? It’s not working for me on 1.0.2 and 2.0.8.
Thanks
Using Revo 2.2 pl2 and Gallery 1.4.0 rc1 and its also not working for me.
So far I wasn't able to find a solution...
Me neither:
MODX Revolution 2.2.4-pl (traditional)
Gallery 1.5.2 pl
Actually none of the thumbFar positions work except for the default "C". Despite the fact that they do show up in the final markup:
img class="" src="/-/assets/components/gallery/connector.php?action=web/phpthumb&w=50&h=50&zc=1&far=L&q=90&src=%2F-%2Fassets%2Fgallery%2F4%2F53.jpg" alt="017A"
Has anyone found a workaround?
Ok I found Shaun's fix from about a year ago and changed:
switch (strtoupper($this->zc)) {
for:
switch (strtoupper($this->far)) {
And still no cookie, so I just fooled around with it and noticed that with thumbWidth and thumbHeight at 50 it didn't work, but worked perfectly fine with any size above that, so that's good enough for me XD
Hi, I am having the same issue. I have no luck with any of the &thumbFar parameters.
I looked at the above fix you mentioned Diego but that had no effect. My thumbnails are set higher than 50.
My Current call is:
[[!Gallery? &album=`A` &plugin=`slimbox` &slimboxLoadJQuery=`1` &slimboxUseCss=`1` &initialWidth=`850` &initialHeight=`580` &imageWidth=`840` &imageHeight=`580` &loop=`1` &slimboxLoadJQuery=`1` &slimboxUseCss=`1` &overlayOpacity=`1` &thumbWidth=`130` &thumbHeight=`136` &thumbFar=`TL`]]
The wiki says...
The aspect ratio for phpThumb with the thumbnail. The image is created at size specified by "w" and "h" (which must both be set). Values are the alignment: L=left,R=right,T=top,B=bottom,C=center. Set to BL,BR,TL,TR to specify for landscape or portrait images.
so are the height and width taken from thumbWidth and thumbHeight parameters? I wanted more control of where the thumbnail is positioned from in the image. If anyone can help it would be appreciated
thanks
Can someone confirm if ImageMagik is a must for this to work...