Inline thumbnails

For inline viewing, making an API call to the getThumb function everytime you encounter a moby.to short url, may be a bit overkill. It would be easier if you could retrieve a thumbnail by modifying to short url, right? Well, you can!

Add ‘:full’, ‘:square’, ‘:view’, ‘:medium’, ‘:thumbnail’, or ‘:thumb’ to the moby.to short url and you will be redirected to the correct image.

If the media type is video, we will return images, except for the ‘view’ and ‘full’ size, which will return the video itself for inline viewing.

3 Responses to Inline thumbnails

Is there a way to tell whether it’s a video or image by looking at its URL? In yFrog I can do this by looking at the last letter of the URL, and I was hoping I’d be able to do the same with Mobypicture. Thanks.

Comment Form

About Mobypicture Developers

Build your own applications on top of Mobypicture, like over 600 others have done before you using our extensive API.

You can find find out more about the usage of the Mobypicture API in the API Documentation. To use the API you have to get a developer key.
This also allows you to promote your Mobypicture enabled app on the Mobypicture website.

In an eye-opening talk, she details how the same algorithms companies like Facebook, Google and Amazon use to get you to click on ads are also used to organize your access to political and social information. And the machines aren't even the real threat. What we need to understand is how the powerful might use […]