How to remove figure tag html in image wrap of typo3.

When we use images in media element of typo3 extbase that time extra figure html tag is generated automatically.

<figure class="csc-textpic-image csc-textpic-last"><img width="141" height="105" title="Search o mania" alt="Search o mania" src="fileadmin/templates/img/Search-o-mania.jpg"></figure>

If you donot want it figure html tag then simply use below script in your setup file.

tt_content.image.20.renderMethod = figure

I hope now you get rid of figure tag 🙂 😉

If you have any queries, please do not hesitate to contact me at Jainish Senjaliya


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s