From bennettj at thebennetthome.com Mon Jan 11 05:45:38 2010 From: bennettj at thebennetthome.com (John H. Bennett III) Date: Sun, 10 Jan 2010 23:45:38 -0600 Subject: [ansel] Ansel Questions Message-ID: <20100110234538.44132e12rqdfr30g@www.thebennetthome.com> Been playing with Ansel and I have a few questions: 1. What is a Slug and why would I use it? From what I could find out, it looks like it should be a way for me to browse directly to a gallery via http://mydomain.com/gallery/slug_name. Is this correct, as I couldn't get this to work? 2. I was able to embed a gallery on a website and it showed all of the pictures. Is there a way to embed just a single picture from a gallery or multiple galleries? The links section only provides a link to the whole gallery. 3. I could only find two ways to search for photos based on tags. One was clicking on browse, then using the tag cloud box and clicking on the tag, and the other was once I was in a gallery, clicking on tags. Am I missing anything here? Thanks, John Bennett -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-keys Size: 1357 bytes Desc: PGP Public Key URL: From mrubinsk at horde.org Mon Jan 11 16:33:35 2010 From: mrubinsk at horde.org (Michael Rubinsky) Date: Mon, 11 Jan 2010 11:33:35 -0500 Subject: [ansel] Ansel Questions In-Reply-To: <20100110234538.44132e12rqdfr30g@www.thebennetthome.com> References: <20100110234538.44132e12rqdfr30g@www.thebennetthome.com> Message-ID: <20100111113335.Horde.xn3j2ssv0dcg4gk8ocw8wso4@dev.theupstairsroom.com> Quoting "John H. Bennett III" : > Been playing with Ansel and I have a few questions: > > 1. What is a Slug and why would I use it? From what I could find > out, it looks like it should be a way for me to browse directly to a > gallery via http://mydomain.com/gallery/slug_name. Is this correct, > as I couldn't get this to work? A slug is a short name given to a gallery as another way to identify it. For the term's origin, see: http://en.wikipedia.org/wiki/Slug_(production). In order to use that style of url, you need to enable appropriate rewrite rules for your webserver. Default rules are provided for Apache, and for lighttpd. There is an admittedly small blurb about this in the INSTALL file. > > 2. I was able to embed a gallery on a website and it showed all of > the pictures. Is there a way to embed just a single picture from a > gallery or multiple galleries? The links section only provides a > link to the whole gallery. Yea, there is an open ticket to provide more examples of this. Need a better interface for doing this, since there are so many possibilities, plus, it's fairly easy for someone with horde knowledge to add his/her own embedded style. Anyway, it is indeed possible to embed a single picture, or in fact, multiple pictures from different galleries, you can choose the thumbnail size and style, and even dynamically page multiple images. You can open the images in a lightbox overlay instead of navigating back to the Ansel site, or you can just not provide any links. I'll try to start some documentation for this, probably on the wiki to start, then migrate it to the help files, whatever they end up being for Horde 4. In the meantime, some examples: To embed image(s) from any galleries (can mix galleries), and show the screen sized image in a lightbox overlay instead of navigating to ansel: