[cvs] [Wiki] changed: AnselModule

Michael Rubinsky mrubinsk at horde.org
Mon Jan 11 18:36:54 UTC 2010


mrubinsk  Mon, 11 Jan 2010 13:36:54 -0500

Modified page: http://wiki.horde.org/AnselModule
New Revision:  1.5
Change log:  Fix headings, add toc

@@ -1,4 +1,5 @@
+[[toc]]
  + Ansel, the Horde Photo Application

  Ansel is a full featured photo management application, with support  
for multiple upload options, content embedding, tagging/geotagging,  
and multiple styles. For more information, or a more complete feature  
list, see http://horde.org/ansel.

@@ -24,9 +25,9 @@

  Ansel supports embedding it's content in external websites. For  
examples, see http://rubinskyfamily.com and  
http://mrubinsk.blogspot.com.

  ++++ Examples
-* A single image that links to an ansel gallery:
++++++ A single image that links to an ansel gallery:
  The following will embed the key images (the image shown in the  
gallery thumbnail) from two different galleries and they will be  
styled as polaroid stacks. Each image will be linked to the gallery  
view for each gallery.
  <code>
  <script  
src="http://domain.com/horde/ansel/xrequest.php?requestType=Embed/gallery_view=GalleryLink/
   
gallery_slug=gallery_one:gallery_two/container=example/thumbsize=prettythumb/style=ansel_polaroid"  
type="text/javascript">
@@ -34,16 +35,16 @@
  </code>

  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:
++++++ A series of images from a single gallery:
  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
++++++ 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



More information about the cvs mailing list