Hello,<div><br></div><div>I'm trying to understand how image captioning works in Kupu and implement RichText captions for one of my clients.</div><div><br></div><div>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...</div>
<div><br></div><div>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</div><div><br></div><div>
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?</div>
<div><br></div><div>Thanks</div><div><div>--</div><div>David Siedband</div><div><br></div><div>Open Source Software Developer</div><div>Oceanic Sky (US) / Zentraal (NL)</div><div><br></div><div><a href="http://oceanicsky.com">http://oceanicsky.com</a></div>
<div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div>