pfumagalli / couldit-autoexport

Automatically exported from code.google.com/p/couldit-autoexport
Other
0 stars 1 forks source link

When showing thumbnailed images the produced JavaScript is wrong #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When an image is produced entering something like !myimage.jpg|thumbnail! the 
generated 
autoexport page links to the correct location, but the JavaScript does not. 

The rendered HTML content looks somehow like this: 

<a href="mypage.data/myimage.jpg" 
onclick='window.open("http://host/confluence/download/attachments/999/myimage.jp
g", ....> 
  <img src="mypage.data/myimage.jpg.jpeg" align="absmiddle" border="0"> 
</a> 

We need to do something to make sure we trap and correct that JavaScript. 
Possibly the solution 
is to re-introduce a LinkRenderer: 

http://www.atlassian.com/software/confluence/docs/api/latest/com/atlassian/rende
rer/links/Li
nkRenderer.html 

Original issue reported on code.google.com by ian...@gmail.com on 29 Nov 2007 at 12:48

GoogleCodeExporter commented 9 years ago
Comment by Mick Semb Wever [15/Nov/07 07:27 PM]

You see this in pain at 
http://people.apache.org/~dblevins/ds/thumbnail-gallery.html 

Also doesn't work exporting the gallery macro. 

Any time frame on this Pier?

Original comment by ian...@gmail.com on 29 Nov 2007 at 12:48