added support for single image caption