Hmm.. the gallery behind that link doesn’t work at all for me.. There’s no picture width and height outputted to the image links, eg they are:
<a href="javascript:void(0);" onClick="javascript:showPic('/assets/galleries/4/1blouse-pink-flower.png','','',,);return false;">
That gives javascript error as the last two parameters from the showPic function call is missing. Actually, the size parameters are outputted to the last image of the gallery and that’s why it works. But the sizes are missing from the other images.
The link is built like this in the template:
<a href="javascript:void(0); "onClick="javascript:showPic('[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]','[+maxigallery.picture.title:htmlent+]','[+maxigallery.picture.descr:htmlent+]',[+maxigallery.picture_width_normal+],[+maxigallery.picture_height_normal+]);return false;">
So that would mean that the following template placeholders are not working for you somehow(?): [+maxigallery.picture_width_normal+] and [+maxigallery.picture_height_normal+]
Those parameters require that the following returns true when gallery images are processed:
file_exists($modx->config[’base_path’].$mg->path_to_gal.$pics[$i][’filename’])
And that getimagesize() php function is working. Don’t see why it shouldn’t work.. And where does the image width and height come for the last picture?
You could try to use just the [+maxigallery.picture_width_normal+] and [+maxigallery.picture_height_normal+] parameters in some template and see if they return anything.. Or go with the v0.6 test version, it might have some fixes that you need. What is the problem with v0.6?