ENH: add support for images in add_section command