+ if (boost::filesystem::is_directory (_film->content_path())) {
+ for (
+ boost::filesystem::directory_iterator i = boost::filesystem::directory_iterator (_film->content_path());
+ i != boost::filesystem::directory_iterator();
+ ++i) {
+
+ if (still_image_file (i->path().string())) {
+ _files.push_back (i->path().string());
+ }
+ }
+ } else {
+ _files.push_back (_film->content_path ());
+ }
+
+ _iter = _files.begin ();