Added remove function for images.