Adding images, retrieve metadata and store to db