PHP Classes

How to Use a PHP IMDB Image Downloader Using the Package IMDB Photos: Download the movie poster and images from IMDB

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,426 All time: 1,605 This week: 60Up
Version License PHP version Categories
imdbphotos 1.0.0GNU General Publi...5Cache, Web services, Video
Description 

Author

This class is meant to download the poster and all images of a movie from www.imdb.com.

It can fetch all images at once and store them in local cache files.

Picture of Stanga Razvan
Name: Stanga Razvan <contact>
Classes: 7 packages by
Country: Romania Romania
Age: 46
All time rank: 933 in Romania Romania
Week rank: 195 Down3 in Romania Romania Equal

Instructions

How Can I Perform an IMDB Image Download

If you are a developer, you can use the IMDBPhotos PHP class that is available on this page. Check the IMDB.Photos.php example script to learn how to call the IMDBPhotos PHP class to retrieve the details of the images of a given movie like the number of images and image URLs.

How to Download IMDB Images

The downloaded images by the IMDBPhotos PHP class are stored in a directory that is named photos by default. If a movie has several images, this PHP class will store each image with different file names.

How Can I Save Image from IMDB After I Do the Steps of How to Download Images from IMDB

Once you figure out the name of the file of the image that you want to save, you can use a simple PHP script to download the image file using PHP code like what you see below:

<?php
     $image_file = 'imdbID-1.jpg';
     $image_path = 'photos/' . $image_file;
     Header('Content-Description: File Transfer');
     Header('Content-Type: application/octet-stream');
     Header('Content-Disposition: attachment; filename="' . basename($image_path) . '"');
     Header('Content-Length: '. filesize($image_path);
     ReadFile($filepath);
?>

How Can I Use an IMDB Poster Downloader or an IMDB Photo Downloader or an IMDB Images Downloader

IMDB posters are photographic images of movies available on the IMDB site. Check the explanation on How Can I Perform an IMDB Image Download.

In Spanish:

Cómo Puedo Descargar Imagenes de IMDb

Si eres desarrollador, puedes utilizar la clase PHP IMDBPhotos disponible en esta página. Consulta el script de ejemplo IMDB.Photos.php para aprender a invocar la clase PHP IMDBPhotos y obtener detalles sobre las imágenes de una película específica, como la cantidad de imágenes y sus URL.

Details

//=============================// // // // IMDBPhotos v0.1 // // IMDBPhotos Readme // // readme.txt // // by Stanga Razvan // // razvan_stanga@yahoo.com // // http://venom.gent00.org // // // // MADE IN ROMANIA // // // //=============================// Take a look at my Movie Database : http://venom.gent00.org/weblog/p/moviedb/venom.html How to download the poster and images from www.imdb.com Take a look at IMDB.Photos.php to see hoe the script works.

  Files folder image Files (3)  
File Role Description
Plain text file IMDB.Photos.Class.php Class IMDB Photos Class
Accessible without login Plain text file IMDB.Photos.php Example IMDB Photos Example
Accessible without login Plain text file readme.txt Data read me

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,426
This week:0
All time:1,605
This week:60Up