This page last changed on Oct 15, 2006 by ivan@atlassian.com.
Gallery Macro
Usage: |
{gallery:columns=3\|title=Example Title} {gallery}
|
Description: |
Forms a thumbnail gallery of all images attached to a page |
Example: |
{gallery:columns=3\|title=Example Title} {gallery}
|
Input: |
optional: columns=<int n>|title=<title string> |
Output: |
a thumbnail gallery with the number of columns specified (default 4) and a heading for the title parameter |
Bundled with Confluence?: |
yes |
Note - if you encounter the following error message:
 |
System does not support thumbnails: no JDK image support |
Ensure that you have following system property available for your JVM:
JAVA_OPTS=-Djava.awt.headless=true
Also see CONF-1737
 |
Please note that gallery-ext.jar is available at CONF-6620 |
solaris no jdk thumbnail support
Add this shell variable JAVA_OPTS="-Djava.awt.headless=true",
restarted Tomcat, and thumbnails now generate without error.
See this page for more info, section "Loading images without X server":
http://www.geocities.com/marcoschmidt.geo/java-image-faq.html#x

Posted by valentinedwv at Jan 26, 2005 14:56
|
It would be nice if the gallery macro supported sorting, such as by name or upload date, for example.

Posted by sdockery@ariasolutions.com at May 16, 2006 15:48
|
Agreed on all counts; I've opened a feature request in Jira.
CONF-6298

Posted by dwd2001 at Jun 05, 2006 14:33
|
I would also like to see an option to include the image filename in the gallery, eg filename=true|false??

Posted by marksn at Jun 21, 2006 09:19
|
|