Kees Jongenburger <[EMAIL PROTECTED]> wrote: > Hi, > > For a project I am wokring on I often need image enlargements. The image showed on > the web page is small > and when clicked on, a new window is openned with a larger version of the image. > The source code often looks like this > (simplified) > <mm:relatednodes type="images" max="1"> > <mm:field name="number"> > <a href="<mm:url page="/zoom.jsp"/>?number=<mm:field name="number"/>">
<mm:url referids="[EMAIL PROTECTED]" page="/zoom.jsp" /> would be a bit nicer. The same field in a field is a bit odd. > </mm:field> > <img src="<mm:image template="s(120)"/>" border="0"/> > </a> > </mm:relatednodes> I would perhaps use <mm:import id="template">s(120)</mm:import><[EMAIL PROTECTED] file="/util/enlargmement.jsp" %> Michiel -- Michiel Meeuwissen | Mediapark C101 Hilversum | +31 (0)35 6772979 | I hate Internet nl_NL eo_XX en_US | mihxil' | [] () |
