AW: [opencms-dev] Showing Images

Matthias Neher Matthias.Neher at doubleSlash.de
Mon Sep 12 11:48:43 CEST 2005


Hi,

just try it like this:

<cms:contentloop element="Image">
<img src="<cms:link><cms:contentshow /></cms:link>"
border="0"><br>
</cms:contentloop>

I think this is the correct syntax for the contentloop


Matthias

--
Matthias Neher

doubleSlash Net-Business GmbH
Müllerstr. 12 B
D-88045 Friedrichshafen

Matthias.Neher at doubleSlash.de
Fon: +49-7541-6047-143
Fax: +49-7541-6047-111
http://www.doubleSlash.de




-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Inmaculada
Piquero Piquero Buedo
Gesendet: Montag, 12. September 2005 11:14
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Showing Images


Hello.

I´m having some problems when I try  to show an image in an HTML page.

The idea is that I have the possibility of having several images in my page
(by the use of these two attibrutes  minOccurs="0" maxOccurs="2", in my XSD
file).

Then, in a jsp, I´m trying to get these images, when I use this code :

<p><img src="<cms:link><cms:contentshow element="Image" /></cms:link>"
border="0">

I haven´t problems and I can see one image.

But, when I use the following one, and I try to see the group of images I´m
not able:

<cms:contentloop element="Image">
<img src="<cms:link><cms:contentshow element="Image" /></cms:link>"
border="0"><br>
</cms:contentloop>

Could anyone to say me where is the problem?

Thanks in advance

_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
MSN Motor. http://motor.msn.es/researchcentre/



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list