[ https://issues.apache.org/jira/browse/JSPWIKI-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604673#comment-14604673 ]
brushed commented on JSPWIKI-887: --------------------------------- Dave, >From the 2nd screencast, the slimbox functionality works as expected. Your markup: {noformat} %%slimbox |[|Apples.jpg]|[{Image src='Apples.jpg' width=300 align=center}] %% {noformat} The first part {{ [|Apples.jpg] }} only shows the SLIMBOX-icon, because the link description field is left blank. Change your markup to {{ [Apples.jpg] }} (no vertical bar !) or {{ [you have great apples! |Apples.jpg] }} to get a clickable link next to the slimbox activation icon. For the second case {{ [{Image... }} the slimbox actually looks for a *title* or *alt* attribute to replace the inline image by a HTML link. In this case, non of both attributes are specified, hence an empty link -- not very useful. I'll make a correction for this, to show a clickable link with the *src* as description text. dirk > Slimbox image style is not preserved using Haddock > --------------------------------------------------- > > Key: JSPWIKI-887 > URL: https://issues.apache.org/jira/browse/JSPWIKI-887 > Project: JSPWiki > Issue Type: Bug > Components: Templates and UI > Affects Versions: 2.10.2 > Environment: Client is: > - Firefox 38 (Ubuntu 14.04). > Server is: > - JSPWiki v2.10.2-svn-17 running in GlassFish v4 > - Container managed authentication is enabled using a file-based realm > - HTTPS is enabled > - JSPWiki policy is locked down such that only authenticated users have > access (both read and write) > Reporter: Dave Koelmeyer > Attachments: JSPWiki-Slimbox-2.mp4, JSPWiki-Slimbox.mp4, > JSPWiki-SlimboxPlainVanilla-1.png > > > I have an existing wiki installation (close to 300MB of data) using the > default template and Plain Vanilla skin. A good amount of content consists of > images, and these have been styled with the Slimbox feature > (https://jspwiki-wiki.apache.org/Wiki.jsp?page=Slimbox). > Images styled using Slimbox don't appear to translate over to the Haddock > template, and instead the full-size image is displayed statically on the > page. > A sample markup snippet where this works using the default template, but not > on Haddock: > {noformat} > %%slimbox > |[|JSPWiki-Haddock-1.png]|[{Image src='JSPWiki-Haddock-1.png' width=300 > align=center}] > %% > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)