make use of deleteThumbnails function in the blog module