add image from the patten library