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
- @baguetter Really? Damn. in reply to baguetter 8 hrs ago
- @AndrewSkudder Cool :-) You'll have your hands full! in reply to AndrewSkudder 9 hrs ago
- Do flash-based uploaders work for anyone? Flickr, YouTube, WP, Vimeo - all jump to 100% and stop, here (/sometimes/ continues in background) 11 hrs ago
- "The easiest way to...use the stars...is remembering that if a star is overhead your destination, then it is pointing the right way." 14 hrs ago
- Bit confused by the celestial navigation tips here: http://is.gd/aNcUi. 14 hrs ago
- @RadioKate Good luck! in reply to RadioKate 15 hrs ago
- @big_ben_clock Oh god it cannot be that time already. in reply to big_ben_clock 1 day ago
- More updates...
Shared Niceties
- The Sound of Thirsty Trees
- Man kicked off train for writing song list that included band name "The Killers"Hmmm, headline isn't actually what the article says.
- Ireland to hold referendum on blasphemyI am glad the UK doesn't have these. Suspect they would make me quite cross.
- Shock decision as Catholic adoption agency wins appeal on same-sex discriminationIf you don't consider gay couples to be appropriate parents then you clearly shouldn't be in the adoption agency business. Sell pills online or something.
- Prosecute teenagers who have sex, says top Tory
- New Arguments for ID Cards
- BBC - BBC Radio 4 Programmes - Living BooksSounds interesting. Via @vaughanbell.
- Please
- Hybrid Bike
- Lizo Mzimba: An ApologyEpic. Via Tom.
- Theodore H. Frank: I am not afraid of my Toyota PriusIs it possible the Toyota acceleration problems don't really exist? Via @Andrew_Taylor, @mjrobbins.
- 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.
- 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
- Rita: “KEEP OUT. Do not open this birthday card. Do not attempt to open this card. Under NO circumstances must you open this card.” I...
on Derren Brown – Mind Reader: The Evening of Wonders. - Kris Ratcliffe: Thanks for this, I recently got an Email read out on 6 Music and had to cut it out. The BBC servers are super-fast!
on How to download iPlayer radio shows on Vista. - Simon: Wooo, well done!
on Happy Humanists Exhibition. - Andrew: My work here is done.
on Concrete jungle. - Lil: Damn you =P
on Concrete jungle.
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