Changes for page Macros

Last modified by Ecaterina Moraru on 2013/11/13 15:45

From version 5.1
edited by Stephanie Pouliquen
on 2008/12/04 15:12
Change comment: There is no comment for this version
To version 6.1
edited by Stephanie Pouliquen
on 2008/12/04 15:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -38,7 +38,7 @@
38 38   1.1 $name
39 39  
40 40   <div align="center">
41 - {image:${name}.png|halign=center|alt=$name|width=800}
41 + <a href=$doc.getAttachmentURL("${name}.png")"<{image:${name}.png|halign=center|alt=$name|width=800}</a>
42 42   #if($mockups.canLoadEditor() and $hasEdit)<a href="$xwiki.getURL($doc.fullName, "loadeditor", "mockup=$name")">edit this mockup</a>#end
43 43   </div>
44 44   #else