Hi,

I'm converting a very old 1.5 (cvs) site to 1.6
I've gotten pretty far, but I had to convert a lot of <%= object_blah =%> tags to blocks with <mm:field jspvar="...">...
the need to use mm:image tags makes some parts get more complicated...
for example, to be able to resize an image I'm now using:

<mm:field name="images.number" jspvar="images_number" vartype="String"
write="false">
<mm:node number="<%= images_number %>">
<img align=left border=1 height=150 src="<mm:image template="w(161)" />" width=161>
</mm:node>
</mm:field>

Isn't there a more efficient way to do this? this way I have to change all simple occurences of <%=image_number=>+w(nnn) to 5 lines of code...

TIA,

Ricardo.


Reply via email to