Made a function to add images to an ad