insert db to the design page and delete unnecessary images