The “Vimeo Flickr Set Photos for Vimeo” Bookmarklet

Apr 7
Posted on April 7, 2008 14:21 in Problems & Solutions, Projects, Technology

Update: It seems that my bookmarklet did not work in every browser, as Flick renders the sets differently in different browsers. I updated the code and it should now work.

As I was playing with Vimeo for the video of the Torchwood Swede, I ran into an issue that needed a bookmarklet to solve it. I have never made a bookmarklet, but now here it is.

The problem was that when you want to add photos to a Vimeo video all it accepts is a comma separated list of either URLs or Flickr Photo IDs. I already had made a set on Flickr of the photos I wanted to add and adding all those 18 URLs by hand was just too much work

So I got thinking: why not make a bookmarklet that gets all the links of the images in the set from the page, and outputs them to the user as a comma separated list? Although I have never done something like this before, it only took me a few minutes to build this and the result is the following link.

Flickr Set Photos for Vimeo

Using it is very easy. Just drag the bookmarklet into your bookmarks-bar. Now when you want to add all the photos from a set to your Vimeo photo, go to the phoo set on Flickr and click on the bookmarklet. This will give youa popup with a long code of text. Copy and paste that text into your Vimeo text boxx for photos and submit.

The code has a few small issues. First of it returns URLs, not Flickr Photo IDs. This doesn’t really matter but it would be more human-readable maybe. Secondly it doesn’t catch if it is on a Flickr site at all. I might change that in the future but probably won’t. If you want to make your own edit, you can download the source from here.

To make this bookmarklet I used some code from this site, and this little tool helped me out to compress the code.

3 Responses to “The “Vimeo Flickr Set Photos for Vimeo” Bookmarklet”

  1. [...] decided to make a little screencast to show the use of the little Vimeo/Flickr Photo Set Bookmarklet that I made a few days [...]

  2. [...] seems Flickr made some interface changes, which broke my Vimeo bookmarklet. I changed the code and all is fine again. The new bookmarklet can still be found in the old post, [...]

  3. Phil Hart says:

    Thank you, I am new to Vimeo and found their flickr photo option for videos and was hoping to be able to do exactly this!

Leave a Reply