[TYPO3-english] Omit all image size attributes

Urs Bräm info at ursbraem.ch
Thu Jun 23 23:37:59 CEST 2011


Of course, the attributes can just be overridden by css.
But well, would be nicer not to have them at all for that purpose.

Am 15.06.11 18:04, schrieb Urs Bräm:
> Hey
>
> the HTML css_styled_content produces for an image (or a textpic) looks
> like this:
>
> <img width="260" height="260" border="0" alt="" src="uploads/pics/c4.jpg">
>
> Though, for "Responsive Webdesign" as proposed by Ethan Marcotte (e.g.
> in http://www.alistapart.com/articles/fluid-images/), one might omit the
> sizes, as such (later they are set by CSS):
>
> <img border="0" alt="" src="uploads/pics/c4.jpg">
>
> Does anybody know a quick switch to achieve that or would it have to be
> done by looking up and overriding all image tags in css_styled_content
> (and in tt_news)?
>
> Thanks
> Urs
>


-- 
Urs Bräm
macht Websites
---
Certified Typo3 Integrator
CH-3011 Bern
www.ursbraem.ch


More information about the TYPO3-english mailing list