I have to edit two Images through XPM but when I try do the editing I am not able to edit one Image. I am using the code written below in DWT.
<!-- TemplateBeginIf cond="Component.Fields.Firstimagefield!=''" -->
@@FieldStartMarker("Component.Fields.Firstimagefield")@@
@@FieldValueStartMarker()@@
<img src="@@GetMultiMediaLink('${ Component.Fields.Firstimagefield}')@@" tridion:type="Multimedia" title="@@GetEclMetadata('${ Component.Fields.Firstimagefield}','Description')@@" alt="@@GetEclMetadata('${ Component.Fields.Firstimagefield}','Description')@@" />
@@FieldValueEndMarker()@@
@@FieldEndMarker()@@
<!-- TemplateEndIf -->
@@FieldStartMarker("Component.Fields.Secondimagefield")@@
@@FieldValueStartMarker()@@
<img src="@@GetMultiMediaLink('${ Component.Fields.Secondimagefield}')@@" tridion:type="Multimedia" title="@@GetEclMetadata('${ Component.Fields.Secondimagefield}','Description')@@" alt="@@GetEclMetadata('${ Component.Fields.Secondimagefield}','Description')@@" class="intro-carousel-keyword"/>
@@FieldValueEndMarker()@@
@@FieldEndMarker()@@
<div>
. If that's your complete DWT, consider trying adding a<div>
around each image (starting before each@@FieldStartMarker
).