Added optional caption for images