Embed Flickr slideshows into a blog post
Just thought some bloggers might be interested in how to embed an official Flickr slideshow into a post. I discovered it here and here and although neither post gets it quite right the commenters have ironed out most of the problems. The basic format is:
<iframe src="http://www.flickr.com/slideShow/index.gne?user_id=YOUR_ID" frameBorder="0" width="500" scrolling="no" height="500"></iframe>
The unique flickr ID is in the form of 12345678@N00, which you can find out from idgettr (or, if you haven't set up a nickname on flickr yet, it comes after "http://flickr.com/photos/" when you look at your own images).
The flickr link takes various arguments:
- contacts - Photos from particular contacts? Not sure what this does.
- text - Unknown.
- tags - Display only a certain tag. Doesn't seem possible to use multiple tags?
- tag_mode - Unknown
- favorites - Presumably it displays a particular user's favourites, but I can't get it to work.
- group_id - Displays photos from a group - the group id can again be found from idgettr. Use without a user_id.
- frifam - Include friends and family-only photos? This is clever, and will only display them to visitors who are checked as friends/family via their flickr cookie.
- nsid - Seems to duplicate user_id?
- single - Unknown.
- firstIndex - Unknown.
- set_id - ID of the set, found after http://www.flickr.com/photos/username/sets/. Use with or without a user_id.
- firstId - Unknown.
I imagine their uses can be found in the flickr api documentation, but I don't have a key. Other sites suggest that "photoset_id" is an option, but I can't get that to work at all. It doesn't seem able to filter sets by tag, either.
So:
<iframe src="http://www.flickr.com/slideShow/index.gne?user_id=1234567@N00&set_id=9873987987&frifam=yes" frameBorder="0" width="500" scrolling="no" height="500"></iframe>
would display a user's particular set, including friends and family images for logged-in friends/family. While the iframe is resizeable, the flash slideshow is fixed at 500 x 500. I can't find a way to prevent it playing automatically, either. Mop fair pics example after the break...
Tweets
- Having minor conniptions over correctly apostrophising "Make her mother's day." 2 hrs ago
- (text 'ski' to 70011 to sponsor a pound - seems fair enough when someone's water-skiing the English channel in 2deg waters) 7 hrs ago
- Enjoying following Christine Bleakley's progress on @sportrelief2010. Well - half-enjoying. Must be pretty miserable out there. 7 hrs ago
- Just caught up with @profbriancox's #wonders What a show. Brilliant that there's a kids' version. 19 hrs ago
- Alicia Keys is definitely saying "see my face in lights, or my name on monkeys found down on Broadway". Definitely. 21 hrs ago
- @Psythor Maths lectures are for squares. I thank you. in reply to Psythor 21 hrs ago
- Trying to personalise this #power2010 letter to the Bishops, but it's too well written. Anything I do makes it worse. 1 day ago
- More updates...
Shared Niceties
- Flickr’s Season Wheel
- Oh not niceshudder
- Excel Tips: A Formula To Calculate A RatioYou have no idea how useful this will be for me.
- iPhone OS 4.0 may finally bring multitasking nirvanaThis would be great, mainly because I am weirdly obsessed with analysing my GPS mileage, but I'm prepared for it to be 3GS only. My 3G creaks occasionally anyway - multitasking might be asking a bit much.
- feature: Why new hard disks might not be much fun for XP usersGood technical primer on the recent BBC story.
- BBC News - Blue Peter dog Mabel retires from showAwww, I remember that dog's first day.
- Exhausting the entire problem space of animated teddy-bears, cars, people and pigeons
- Daily Mail lies about FacebookThe whole thing had nothing to do with Facebook.
- The Librarian: The Curse of the Judas Chalice TrailerOh my goodness.
- sikhs
- Holy cow this is the tiniest photographer we’ve ever...There is an action movie finale to be had here, where Good Guy presses the shutter and the camera fires an RPG into Bad Guy's smiling face. Suggested one-liner: "say cheese, dickhead."
- The United Steaks of America project is, well, just what it...
- Pharmacist refuses to issue pill because of her religion - TelegraphVery not ok.
- AutoFocus portfolio themeOne of very few portfolio-site designs I actually like. Dates keeps you honest and fresh; info is clean and tidy; layout is nice. Might actually start building myself a site. Via @photojojo, who are on fire at the moment.
- Violent video games: small causal link with aggressionActual data! Not just made up stuff in newspapers! Overall picture is muddy, though.
- Tipsy thinking
- Spider Holster Now Available WorldwideNo, no and furthermore, no.
- Twitter: The Criterion Collection
- Puppy in the womb
- Will our obsession with beautiful bokeh ever end? (Hint:...
- Plugin by C. Murray Consulting
Hello!
Hey, thanks for coming! I'm Andrew, and this is where my headthinks come to breed. They often dance around humanism, photography and general wonderments, but there's dabblage aplenty.
Do feel free to email me - I get lonely:

Your hair looks swish, by the way - have you done something new?
Recent Comments
- Lil: Brilliant! =D
on Resident. - Andrew: I have so not cooked you a meal.
on Sister update. - Clare: Congratulations! Your photography is pretty cool.
on Resident. - Tamsin: hahahahah WTF?!
on Antivenn. - Tamsin: Noooo! Another one?! Why? Wasnt one painfull enough?!!
on Sister update.