[kupu-dev] what's up with the new "lightbox" hook in the captioning transform?

Jon Stahl jon at onenw.org
Fri Oct 26 00:03:12 CEST 2007


Duncan-

We just noticed in Kupu 1.4.3 that if one enables the captioning
transform (which we are pleased to see is now in a ZMI-configurable
template -- thanks!!!), we get a few extra little bits that weren't
there before, namely:

-- an <a href="path to original image> tag on the image
-- a <rel="lightbox"> tag on the image

To me, this looks like a hook for the well-known "Lightbox JS" script.
(http://www.huddletogether.com/projects/lightbox/)

Way cool!

But... a couple of questions:

If this is intended as a hook for lightbox, why not say so?  ;-)   And
why not include the lightbox js, css & supporting graphics with kupu?  

As it is right now, if one naively turns on image captioning, images
suddently become clickable, which our users found unexpected and
confusing.  It felt like a bug to them. :-(

Secondly, is it wise to pack lightboxing into the captioning transform?
Shouldn't lightboxing be selectable separately from captioning, and
perhaps implemented through a separate transform?  IOW, not everyone
would want both captioning and lightboxing, why not make them
independently selectable?

Is there some other intent here that I'm missing?


best,
jon

--------------------------
Jon Stahl | Program Manager

ONE/Northwest
 New tools and strategies for engaging people in protecting the
environment

www.onenw.org
jon at onenw.org
206-286-1235x15
http://blogs.onenw.org/jon

Subscribe to ONEList, our email newsletter!
 Practical advice for effective online engagement
  http://www.onenw.org/full_signup
 
 
 


More information about the kupu-dev mailing list