hi doze,
thanks for getting back, i re-uploaded the files. i think maybe i did have some problem there. now the page does load fine.. but when i am logged in and press the manage pictures. the page reloads but nothing happens? is there something else that i might be doing wrong? thanks lach.
hi garryn, yeah thanks for that. When i adjusted the snippet call like you said, maxigallery works fine. Could you plese tell me when i should use cached calls and when to use normal.. thanks lach.
It depends.. If the snippet call is cached, it only runs one time and then it’s result will be always retrieved from cache (as long as the results can be found from the cache).
Eg. if you have a menu snippet that lists the pages and it’s running cached, the first time you access the page, it will find all the pages and output the content. The content is then put to cache and retrieved from there each time. So if you then create a new page that should appear on the menu and you visit the page, it won’t be there, because the snippet is not being run on each page request, the output is just get from the cache. To make it appear, you can then hit refresh site from modx manager to clear the cache or make it running uncached.
By making the document "not cacheable" in page settings tab, all snippets are prosessed on each page request, no matter how you call them (using cached [[snippet]] or uncached [!snippet!]). But if you want to set your page to be cached, you can still force the snippet to run each time by calling it uncached [!...!]. All snippets that needs to process POST or GET data needs to be running uncached. I usually run everything uncached because I don’t have alot traffic on my site and the server has power to run the snippets pretty fast. But if you like to optimize your site after you are done with it, you could set menu snippets etc. running cached so that your site will be rendered faster and when you do new pages just hit "refresh site" in modx manager to make it cache the documents again. MaxiGallery could also be made to run cached if you are not using paging and use lightbox/slidebox once you have uploaded all your images.. but to upload new ones, would require to make it uncached for the time.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
MaxiGallery is really quite awsome, great work. This may have already been addressed, but is there a way to download a "big" pic from the normal pic that opens up in lightbox? I really like the lightbox effect, but i can’t figure out how to have lightbox open the normal sized pic and then have a way to download a full sized image from it. My apologies if i just missed something obvious, i’m still pretty new to modx and maxigallery and all.
here’s my current snippet call
[[MaxiGallery? &keep_bigimg=`1` &big_img_linkstyle=`lightboxv2` &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`1` &pics_per_page=`6` &thumb_use_dropshadow=`1` &max_thumb_size=`256` &pic_use_dropshadow=`1` &max_big_size=`2560` &max_pic_size=`512`]]
-dan
http://www.chapter2studios.com
Hello Dan,
You don’t need the &big_img_linkstyle=`lightboxv2` parameter, because you are using embedded gallery type and the pics are opened in lightbox. You could make the download link to the big picture in the description field for that picture manually. The image file is prefixed with big_, so if you have link to the image
http://yourdomain.com/assets/galleries/49/picture.jpg the big image is linked
http://yourdomain.com/assets/galleries/49/big_picture.jpg, so use html code in the description field to link to that file. Then you need to also edit the snippet code take out htmlentities function call from description fields that convert the input to html entities.
EDIT: btw, the htmlentities conversion is configurable parameter in next version.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Thanks for the response! I ended up just not using lightbox for now, this seems to allow the functionality i’m looking for (albeit without that slick lightbox interface.) I may try adding the links manually like you said, that sounds like a good option. After i learn a little more, i’ll be able to converse on this subject more eloquently

. Again, thanks for all the time and effort put into this gallery, it’s a great resource.
-dan
On an English page we have inserted a gallery. Now I’d like to display the same gallery on the other language pages... do we do this with &picture_target ?
Quote from: Tom at Oct 12, 2006, 08:59 AM
On an English page we have inserted a gallery. Now I’d like to display the same gallery on the other language pages... do we do this with &picture_target ?
No, you need to change this:
into:
$language = (isset($language)) ? $language : "en";
and then use &language=`fr` in you snippet call to get french gallery on some page, for example.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Does that work? I’m not looking for different text labels...
I would like the same pictures to appear on a different page. So I’ve a gallery under pageid=2 and want to show the same gallery under pageid=45. Obviously I do not want to upload same pictures again as I’d like to maintain only one gallery.