[opencms-dev] Showing Images

Inmaculada Piquero Piquero Buedo inpibu at hotmail.com
Mon Sep 12 11:14:02 CEST 2005


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/




More information about the opencms-dev mailing list