Firstly, I'm using modx 2.2.6-pl and Gallery 1.5.2-pl.
I'm trying to creating some gallery item listings with the Gallery component/snippet. For some reason it always outputs the default thumbnail sizes as 100 x 100 never the 300 x 200 I specify.
Here's the Gallery snippet call:
[[!Gallery? &album=`2` &thumbTpl=`newsGalItemThumb` &thumbWidth=`300` &thumbHeight=`200` &linkAttributes=`class="th"` &plugin=`slimbox` ]]
And here's the thumbTpl:
<div class="[[+cls]]">
<a href="[[+linkToImage:if=`[[+linkToImage]]`:is=`1`:then=`[[+image_absolute]]`:else=`[[~[[*id]]?
&[[+imageGetParam]]=`[[+id]]`
&[[+albumRequestVar]]=`[[+album]]`
&[[+tagRequestVar]]=`[[+tag]]` ]]` &scheme=`abs`]]" title="[[+name]]" [[+link_attributes]]>
<img class="[[+imgCls]]" src="[[+thumbnail]]" alt="[[+name]]" [[+image_attributes]] />
</a>
<p>[[+name]]</p>
</div>
This is the output I get:
<div class="gal-item-active">
<a href="/assets/gallery/2/2.jpg" title="Toasting unveiling of Plaque" class="th" rel="lightbox">
<img class="" src="/assets/components/gallery/connector.php?action=web/phpthumb&w=100&h=0&zc=1&far=C&q=90&src=%2Fassets%2Fgallery%2F2%2F2.jpg" alt="Toasting unveiling of Plaque">
</a>
<p>Toasting unveiling of Plaque</p>
</div>
I don't know why it's not resizing the thumbnails correctly, but what am I doing wrong?