[ https://issues.apache.org/jira/browse/JSPWIKI-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606089#comment-14606089 ]
brushed commented on JSPWIKI-887: --------------------------------- Hi Dave, The Haddock template now supports two kind of slimbox links: {noformat) [You have great apples! | Apples.jpg | class='slimbox'] [You have great apples! | Apples.jpg | class='slimbox-link'] {noformat) The class "smilbox" will ADD after the regular link, a slimbox-icon which links to the slimbox viewer. The class "slimbox-link" will convert that whole link into a slimbox-link. Don't know if that makes sense, just try it out to see the difference. 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 > Fix For: 2.10.2 > > 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)