I have a component source xml as below:
<image_227x140> <img style="width: 227px; height: 140px;" alt="alttext" title="IA_Offer2" xlink:href="tcm:382-26496" xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="IA_Offer2"></img>
I need the output of my dwt template to be as below:
<img src="folder1/folder2/image.gif" alt="alttext" />
Is there a way to do this in without using the Get extension?
Background information: The image is a multimedia component which is inserted into an RTF field. image_227x140 is the RTF field name.
Right now, not sure how to render the desired output format. If I render with something like this:
<img src="@@image_227x140@@" alt="@@image_227x140.Metadata.alternative_text@@"/>
It is giving the output as:
<img src="tcm:0-0-0" width: 227px; height: 140px;" alt="alttext" title="IA_Offer2" />" alt=""/>
The requirement is to use a RTF field, that's why trying to find a way.