automatic remove ad thumbnails from upload folder
I have some problem with removing ads thumbnail in uploads folder. After I post an ad with attached images, I can see in uploads folder: the original image and several of its thumbnails.
When I delete ads, and remove original image (from admin panel), I check back the uploads folder: only the original image was deleted, but its relevant thumbnails still remained.
How can I automatically delete those thumbnails together with the original image?
Thank you for your help.