[Wiki] changed: AnselModule
Michael Rubinsky <[email protected]>
| Newsgroups | gmane.comp.horde.cvs |
|---|---|
| Message-ID | <[email protected]> |
mrubinsk Mon, 11 Jan 2010 13:38:29 -0500 Modified page: http://wiki.horde.org/AnselModule New Revision: 1.6 Change log: move under correct heading @@ -36,15 +36,16 @@ In the above, the gallery_slug parameter is a colon delimited list of gallery slugs. You could also use a colon delimited list of gallery ids by using the paremeter gallery_id in place of gallery_slug. The //container// parameter is the dom id of the element where the content should be embedded. The parameter //style// is a style name (from ansel/config/styles.php) to use. +++++ A series of images from a single gallery: + ++++++ Arbitrary images from any number of galleries The following will embed 6 different images, each from a different gallery. Clicking on each image will open a lightbox overlay containing the selected picture, with navigation controls to view the rest of the embedded images on the page. <code> <script src="http://domain.com/horde/ansel/xrequest.php?requestType=Embed/images=5122:1851:5153:2072:3049:4894/ container=multiple_example/thumbsize=thumb/lightbox=true" type="text/javascript"> <div id="multiple_example"></div> </code> -+++++ Arbitrary images from any number of galleries In addition to the main choices listed above, the following pairs can be added to the request's parameters * thumbsize -- To unsubscribe, mail: [email protected]