public function import()
 {
     if (File::exists(Config::get('filegallery.uploadsfolder') . '/' . Config::get('filegallery.readyfile'))) {
         $files = new ImageManager(Config::get('filegallery.uploadsfolder'), Config::get('filegallery.imagesfolder'));
         if (!$files->import()) {
             $errors = $files->messages()->get('error');
             return Redirect::to('/')->with('error', $errors[0]);
         }
         return Redirect::to('/')->with('success', 'Done importing images.');
     }
     return Redirect::to('/')->with('error', 'Not ready for import.');
 }