Added posibility to destroy image