I wanted to give a WE picture an ID "bigPic1" so the browser can update the image with an other picture if the mouse is over an other image.
So in the template I wrote:
<we:img name="BigPicture" xml="true" class="img-responsive" id="bigPic1" />
But in the output WE creates, the id="bigPic1" is not added:
<img src="/images/projecten/2015-01-01.jpg" alt=" " xml="true" width="1200" height="800" name="BigPictureblk_additionalContentRows__2" class="img-responsive" />
is there a way to add an id to the picture?
Thanks for your help!
can not add id="idname" to WE image
-
- webEdition Partner
- Beiträge: 1825
- Registriert: Di 7. Mär 2006, 16:50
- Wohnort: Wien
- Kontaktdaten:
Re: can not add id="idname" to WE image
Hey,
The attribute id is used by the tag itself (see we:img tag reference). But you could give the attribute "pass_id" a try.
HTH,
Sascha
The attribute id is used by the tag itself (see we:img tag reference). But you could give the attribute "pass_id" a try.
HTH,
Sascha
Re: can not add id="idname" to WE image
WBTMagnum hat geschrieben:Hey,
The attribute id is used by the tag itself (see we:img tag reference). But you could give the attribute "pass_id" a try.
HTH,
Sascha
Thanks you! That works fine!
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast