[TYPO3-english] AMP pages, amp-img instead of img src from RTE

Stanislas Rolland typo3 at sjbr.ca
Thu Jan 21 18:13:54 CET 2016

Hi Jan,

 > Has anyone been looking into generating AMP pages from typo3? So far
 > everything seems to be doable except the amp-img tag for images included
 > in RTE.  Is it possible at all to replace the RTE rendering of an image
 > tag with an amp-img tag on Typo3 6.2 LTS?

You should be able to modify the rendering of the img tags in RTE 
content, by configuring some user function:

lib.parseFunc_RTE.tags.img.userFunc = YourClassName->yourFunctionName


L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.

More information about the TYPO3-english mailing list