This commit is contained in:
daniel committed 2015-10-21 15:19:35 +02:00
1 parent 4f8a382b51
commit 0b4efeb2ed
7 files changed
+622 -412

No files matched your search

+6
View File
@@ -53,4 +53,10 @@ class Film extends Eloquent {
}
public function getPoster() {
$tmdb = new TMDb(Config::get('constants.tvdb.apikey'), 'de', TRUE);
$tmovie = $tmdb->getMovie($this->tvdbid);
return $tmdb->getImageUrl($tmovie['poster_path'], TMDb::IMAGE_POSTER, 'w342');
}
}