[!MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &order_by=`pos` &limit=`1` &galleryPictureTpl=`mgGalPicTpl`&max_pic_size=`0` &max_thumb_size=`0` &max_big_size=`0` !] [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`99999` &galleryPictureTpl=`mgGalPicTplHidden`!]
((In the first call, you use lightboxv2, in the second call, you use slimbox. These javascripts both use different JS libraries (scriptaculous+prototype vs mootools), so use only either of those and select the one that suits together with your JS menu.
Hi Folks!
I have a problem with maxigallery when using together with JS menu. The maxigallery call is as follows:
[!MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &order_by=`pos` &limit=`1` &galleryPictureTpl=`mgGalPicTpl`&max_pic_size=`0` &max_thumb_size=`0` &max_big_size=`0` !] [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`99999` &galleryPictureTpl=`mgGalPicTplHidden`!]
Yeah, you see it right, this is 2 mg call on one site to jump to the next pic without displaying it on the page, so only one pic is visible at any time.
The problem is, if I have the call on a page, the js menu I use on every page is not working .
The &max_pic_size parameter resizes the picture that you see in lightboxv2/slimbox. So use that. If you set it to 0, it won’t resize the picture at all. See MaxiGallery wiki article in MODx wiki for more information about the parameters and their usage.
Another problem is that I can not resize the pic, although I have the resizing parameters set to 0 to keep the original size (I also tried the &keep_bigimg without any result).
So how can I resize the pic, and how can I get the js menu working? Please help me people...((
Thx in advance!
The pictures are resized on upload, so you have to reupload the images after you change the picture settings.
Thx for the reply...
Nope, it doesn’t seem to work. I have set the &max_pic_size, but it just didn’t make anything. I thought that maybe if I’d "bother" the javascript in the chunk it will work. That class=’thumbnail’ is pretty suspicios for me. Do you have any idea, what to write instead of it? I didn’t find any related in the wiki about this issue.
In the mgGalPicTpl chunk, remove "tn_" from this:
Ah yes, and another thing: I don’t want any thumbnails, I just want the original picture on the page.
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]"...