First working draft of the image gallery parser module