Get a thumbnail for a Vimeo video using the video ID

Getting the thumbnail image for a Vimeo video is very easy. Just use the following link, replacing the <video-id> with the id of the video.

Small image;

<?php
$hash
= unserialize(file_get_contents("http://vimeo.com/api/v2/video/<video-id>.php"));
$hash[0]['thumbnail_small']
?>

Medium image:

<?php
$hash
= unserialize(file_get_contents("http://vimeo.com/api/v2/video/<video-id>.php"));
$hash[0]['thumbnail_medium']
?>

Large image:

<?php
$hash
= unserialize(file_get_contents("http://vimeo.com/api/v2/video/<video-id>.php"));
$hash[0]['thumbnail_large']
?>

Click here to see how to get YouTube video thumbnails.