Hi, this question has been asked but never resolved before:
http://modxcms.com/forums/index.php/topic,53302.msg308500.html#msg308500
I want to know why the image widths in my Galleriffic galleries are being fixed at 502px.
E.g. in the following page:
http://elbafirst.co.uk/index.php?id=35 > Click on Gallery tab: The Standard Room photo at the beginning of the slideshow should be 650px (here is the orignal:
http://www.elbafirst.co.uk/assets/components/gallery/files/5/13.jpg) but is getting reduced to 502px.
The only reference to this problem I can see is
phpthumb&w=500& in the img src:
<div id="gal-gaff-slideshow" class="slideshow"><span class="image-wrapper current" style="opacity: 1; "><a class="advance-link" rel="history" href="#Biodola Restaurant" title="Standard Room"> <img alt="Standard Room" src="/assets/components/gallery/connector.php?action=web/phpthumb&w=500&h=500&zc=0&far=&q=90&src=%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F5%2F13.jpg"></a></span></div>
It looks like it should be simple to solve if the code affecting Galleriffic image widths could be located. The connector.php file in /assets/components/gallery/ looks like a good place to start but I can find no width setting in there.
I copied this in to my browser
http://www.elbafirst.co.uk/assets/components/gallery/connector.php?action=web/phpthumb&w=500&h=500&zc=0&far=&q=90&src=/assets/components/gallery/files/5/13.jpg and changed the number after phpthumb&w= to 650:
http://www.elbafirst.co.uk/assets/components/gallery/connector.php?action=web/phpthumb&w=650&h=500&zc=0&far=&q=90&src=/assets/components/gallery/files/5/13.jpg which does change the width to 650px.
The snippet call in my gallery template is:
[[Gallery? &album=`[[!getResourceField? &id=`[[*parent]]`&field=`pagetitle`]]` &plugin=`galleriffic` &enableTopPager=`0` &navigationWidth=`650px` &imagewidth=`650` &numThumbs=`6` &gallerifficThumbWidth=`97` &autoStart=`1` &delay=`4000`]]