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
- My entire Remember the Milk list is due today. Something has gone very wrong here. 3 hrs ago
- News report on sikh dagger says a schoolchild was stopped from wearing one due to 'concerns about health and safety'. Wow, how unreasonable. 1 day ago
- @allfivehorizons Me too - I have to be careful not to do it at night, or I can't sleep through getting annoyed. in reply to allfivehorizons 1 day ago
- I know that rehearsing arguments in my head is useless and quite probably counter-productive, but sometimes I can't help it. 1 day ago
- @grimsb Yikes! Glad you're ok. in reply to grimsb 2 days ago
- I'm pretty sure this muffin will have gone off by morning. Would have. 2 days ago
- @bobchurchill Nice! in reply to bobchurchill 4 days ago
- More updates...
Shared Niceties
- Lynx Bullet: Yeah, Right, Whatever
- Become Your Fear
- BBC News - Neil Gaiman 'has written Doctor Who episode'Hooray!
- Fax Machine Timeline
- 40 Stunning and Creative Graffiti Artworks
- apple 2 apple ™ on Flickr - Photo Sharing!
- Not only does this photographer/mathematician add graphs to her...
- Tube carriages converted into offices.Want job there.
- This hobbyist built a camera with a five-millisecond shutter...
- That’s one miraculous conception | Discover MagazineA woman with no vagina accidentally gets pregnant.
- Will the Pope pay after all?Good good.
- First Bill Waterson interview in 15 yearsWow!
- The internet, depression and drinking a glass of water
- BBC News - Men At Work lose plagiarism case in AustraliaListening to the extracts, this appears to be total bullshit. Even if not, the original song was written in 1934. Going all Doctorow over this is probably justified.
- The right to believe is not the same as the right to do | HumanistLifeMakes sense to me.
- Chrome OS Tablet MockupsNow you're talking.
- Pictures of the day 02/02/10: #9
- Feb 1, 2010 - Print vs. Web
- Ultimate Heat ToolA friend just bought one of these, to much amusement. Press release is sly.
- The Virtual PianoMore diverting than you might think. Possibly because the chords sound so lovely.
- 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
- chrissie allen: Wonderful pictures. Superbly taken and indeed very atmospheric….just gorgeous! A joy to see on a drab old Monday, thanks.
on Winter in Transylvania. - Graham Nunn: I hate the notion that contractions are bad English. It’s especially irritating in journalism when they’re quoting sportspeople. “It is a really big...
on Video results. - Simon: Bagpipe rock fusion goes stratospheric!
on McShane Apocalypse Serenade. - Simon: Damn. If it’s any consolation, I completely fucked up my third year project. Regarding the essay, perhaps you should have submitted it in Latin?
on Video results. - John: So, Derren isn’t using NLP or covert hypnosis to insert thoughts on the subconscious to predict thoughts? thank you
on Derren Brown – Mind Reader: The Evening of Wonders.
November 18th, 2006 - 11:17
I have been able to get sets of a certain tag to show using this but only when I use a tag I find associated with other people photos. When I use a tag I created yesterday it does not work
so src=”http://www.flickr.com/slideShow/index.gne?tags=furryfriday”
works but
src=”http://www.flickr.com/slideShow/index.gne?tags=usn2004″
doesn’t
January 7th, 2007 - 18:30
Hi,
I have tried the method you describe at least a couple of times with different options, but I haven’t figured out how to get the slideshow to show more than three rows of thumbnails.. This is the first time I actually see that it is possible to have more than three rows, but I still can’t figure out how!
Any ideas would be helpful!
thanks
//Henrik
January 7th, 2007 - 19:49
Are you setting the width and height sufficiently large? What’s the URL that you’re calling? Have you tried this on an empty page?
Ed