#302: Adding images to the database