This SnipSnap macro package makes it easy to create photo albums in SnipSnap.
This macro displays one or more attached images or images in an attached zip file. It can scale the image, provide a thumbnail and caption.
This macro is a shortcut to display one or more floating images inside a div. The images can, just as the scaled-image macro, be scaled.
The scaled-image-settings macro allows you to set common parameters for all scaled-image and scaled-album macros following it.
The image-container macro puts the nested images inside a div block (with class image-container).
The scaled-image macro makes use of some Java graphics functions, which have been introduced into JDK 1.4. Normally these functions assume a connection to a display. When you run snipsnap on a server, you may get an error message that it cannot connect to a display.
You can make it work by adding the following property option to the startup script of the web container you are using:
For tomcat, you can edit catalina.sh and add this line somewhere in the beginning of the file: