cubicweb #344887 Easily insert image legend with css [resolved]
Have a way of putting some text directly under an image in ReST. This is particularly important for photos on which we have to insert the copyright or the reference to the creative commons licence (and the author of the image). | |
priority | normal |
---|---|
type | enhancement |
done in | 3.9.9 |
load | 0.300 |
load left | 0.000 |
closed by | <not specified> |
similar entities
- cubicweb #1267534 separate docutils css rules to clean up cubicweb.css
- cubicweb #113645 handle long pieces of code in content
- cubicweb #1280176 Align left, right or center don't work anymore on images
- Maquetta (http://maqetta.org/)
- cubicweb #2072029 add css class to div for "see them all" link for pagination.
[see all]
Comments
-
2010/04/22 06:00, written by sthenault
-
2010/04/22 07:56, written by alutz
-
2010/04/22 08:54, written by sthenault
-
2010/04/26 13:37, written by alutz
-
2010/09/24 09:10
add commentdid you try ReST figure directive?
I just did
Theoretically could you put an URL in it ?
duh? You tried something like: http://docutils.sourceforge.net/docs/ref/rst/directives.html#figure ?
The HTML generated works, but without a proper css it can't be used yet.
I get a div with class=figure and the align-right class is added when align is used. That has to be taken into account by cw's css.
I've made some changes for http://www.cubicweb.org/ticket/1253395. Can you validate that it fixes your issue ?