[kupu-dev] RichText image captions

David Siedband siebo.lists at gmail.com
Wed Apr 16 11:26:50 CEST 2008


Hello,
I'm trying to understand how image captioning works in Kupu and implement
RichText captions for one of my clients.

It looks like captions are applied by some sort of transform based on the
description element of the image.  I found kupu/plone/html2captioned.py and
I'm slowly wrapping my head around it...

1) What do I have to do to my custom-types to make their RichText fields
able to embed images with with captioning?  It seems that this doesn't work
on all RichText fields

2) I have a custom image type that has a RichText body field in addition to
description.  I think I could achieve this by creating a new transform
similar to html2captioned.py and but configured to pull the caption from my
custom RichText fields on the images.  Does that sounds like a sane
approach?

Thanks
--
David Siedband

Open Source Software Developer
Oceanic Sky (US)  /  Zentraal (NL)

http://oceanicsky.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/kupu-dev/attachments/20080416/fae5fdf8/attachment.htm 


More information about the kupu-dev mailing list