Added image and JSON output to GalleryWriter.

Sizes and save options are defined in settings and can be configured.