/**
  * We also need to delete the images in the cache.
  */
 public function delete_all()
 {
     parent::delete_all();
     foreach (glob($this->get_cache_dir_name() . '/*') as $cache_file) {
         unlink($cache_file);
     }
 }