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.

For example:

http://moby.to/1234:square

Remember! Our guidelines specify that if you post a Moby on an external website, the Moby must link back to its Moby page. So please add the appropriate <a> tag.

This page is last updated on October 13, 2010 by

3 Responses to Inline thumbnails

Avatar

Baiz Yeh

November 2nd, 2010 at 11:55 am

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.

Avatar

Timan Rebel

November 29th, 2010 at 6:55 pm

No, not at the moment. Therefor you should call the getThumb action.

But, calls to the inline thumbnails for video’s also return the thumbnail, except for the ‘view’ and ‘full’ size, they will return the video.

But, good point, will look into that

Avatar

lowik

March 3rd, 2011 at 9:30 am

Any progress with solution for distinguishing videos and images?

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.

Get a Mobypicture developer key

RSS Mobypicture product news

  • After we're gone March 20, 2017
    "About a month after we disappear all cooling water on nuclear facilities will have evaporated. Millions of animals will die of cancer."
  • Why don't we cheer at a central place online? March 20, 2017
    Catching the energy Energy flows around social gatherings. When we enter a stadium, visit a museum or go to a concert we all share the energy. It makes us stronger, it connects us, no matter what our backgrounds are.  Online their is not one space that catches this energy and bundles this power. Our tweets, FB posts, likes, […]
  • It's been an activistic month! #supportgoodcauses March 6, 2017
    1. Artikel 1I met Sylvana Simons at an event in January. I don't care too much about politics but I think the rights she's fighting for are extremely important and awareness and demystification around the topics of the new Dutch political party Artikel 1 are crucial for achieving their goal. Tag The Love can really help them get […]