Finish remove all thumbnails part of handle_image function