delete image and entry when delete thread