[TYPO3-english] Omit all image size attributes

Urs Bräm info at ursbraem.ch
Wed Jun 15 18:04:10 CEST 2011


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