make images deletable