Added support to add the download images to database