OK that title is nit realy clear hehe
what I mean is that I am preparing pages with a maxigalley call like this in the template:
[!MaxiGallery? &pictureTpl=`mgPicture` &display=`pictureview`!]
and the mgPicture chunk is this:
<img id="maxImage" src="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" alt="[+maxigallery.picture.title:htmlent+]" />
this only works if there are images in this gallery
now I get this error:
PHP error debug
Error: getimagesize(/var/www/vhosts/janjet.nl/httpdocs/assets/galleries/107/) [function.getimagesize]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /var/www/vhosts/janjet.nl/httpdocs/assets/snippets/maxigallery/maxigallery.php
Line: 885
Line 885 source: $imagesize=getimagesize($modx->config['base_path'].$path_to_gal.$pics[$i]['filename']);
looks like MG does not check if there are images at all.
is there a posibility that it wil not show anything when using a call linke this?
or do I need to use another call?
Greets Dimmy