implemented multiple destroy for images