Integrate mongodb support to store images from hfr pages.