[TYPO3-dev] text/img and img elements with css-class?

grac at gmx.ch grac at gmx.ch
Wed Nov 19 15:22:20 CET 2008


hello

during an intensive discussion about DAM ignoring images which are set in a
TEMLPLAVOILA and FCE structure, when included in a text element, someone
proposed to ask my question here in the core team. and they forwarded me  
to typo3-dev.

here is my present situation:

for being able to realise an modern elastic layout one needs to work (via  
CSS) with % not only in text, but also with img.
so there is the need to give the images a special CSS class (width=xx%  
etc.).

this is in my view only possible if one inserts the images in a  
text-element.
until now i gave every <img> a class by hand in the html-editor.

but this procedure has several con's, of course:
- manually edit the html-code of every img-tag
- no caption
- etc.


so here are my questions:

- is there a possibility to integrate a field "CSS class" into the
content-elements text/img and img?

-is this possibility already implemented in vers. 4.2.3?

-or is such a thing planned for these two elements?

-or are img in typo3 only supposed to have a width in px?


thanks a lot for your answer

stephan




More information about the TYPO3-dev mailing list