PHP Class get thumbnail images from vimeo videos

I am presenting a class which retrieves the url of a thumbnail from vimeo video’s by it’s id. You can pass the videoid and the size of the image to the function.  Vimeo offers small, medium and large thumbnail formats, which can be accessed by passing the shortcodes.

“s” for small (100 x 75)

“m” for medium (200 x 150)

“l” for large (640 x 360)


$vimeoLink = new vimeoImgUrl(6271487, ‘l’);


No Comments

Add Comment