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
- @dolphinmaria Formenting hatred? Don't be like that. They put up massive criticisms of Pope's ideas - that's all. 12 hrs ago
- @zeno001 I loved the ripple that went around the room at that moment. Not a thing you say to Grayling! in reply to zeno001 21 hrs ago
- @Duffs1 Result. That makes up for the quality of the food. in reply to Duffs1 21 hrs ago
- @RAtheist Ready meal-y. But food was needed and food was had, so it'll do :-) Ah, apologies. in reply to RAtheist 21 hrs ago
- @Steve_P_Knight Had to be done. in reply to Steve_P_Knight 21 hrs ago
- @RAtheist Ok that is hardcore. in reply to RAtheist 21 hrs ago
- Bangers and mash at quarter to 1 in the morning? Why yes, I do believe I shall. 21 hrs ago
- More updates...
Shared Niceties
- Susie Linfield - Aid wars | New HumanistShe makes some tremendous points here. And apparently she just wrote a book about photojournalism, so I'll be going and getting that right away.
- Mongoliad is live: Neal Stephenson, Greg Bear and friends create participatory, epic fantasy for the webLooks potentially interesting. And hey, Neal Stephenson can actually do no wrong (it's a rule).
- Senior Catholic Edmund Adamus blames UK's 'moral wasteland' on equal rights - Home News, UK - The IndependentIn other news, colossal amount of money to be made by any PR firm who can sign up the Catholic Church.
- Penn and Teller take on vaccines
- I have eliminated...That's a lot of therapy for one joke.
- erohi:
0ji:
ak47:
xtc:
Tap of plenty | Robinetul abundentei... - 'Lost' fans invited to series marathon - Digital SpyGoodness.
- Brian Blessed new voice of TomTom Sat Nav - TelegraphI was all ready to use the 'DRIIIVE!' joke on Twitter, when I googled for the link and found the Telegraph had beaten me to it. Grrr.
- This Event Is Cancelled, Courtesy Of Tower Hamlets
- The glory (and tackiness) of ancient Greece
- Snooze
- mappiness, the happiness mapping appResearch app from LSE.
- Questival 2010Photos from the weekend.
- This man is VERY cross that the Pope is paying a state visit to Britain – Telegraph BlogsDamian Thompson has used one of my photos to be a total douchebag.
- Iceland Considers Humanoid Pylon Design to Carry Electricity | Wired Science | Wired.comYes, yes, and indeed yes. (via @someone - just found the tab open).
- Sorry! Something’s Gone Wrong
- A Visit To The Empire State BuildingKeep in mind: it is really, really windy up there, and the building sways.
- Contact Sheet Art Created Using Carefully Exposed 35mm Film
- UK government: Upgrading away from IE6 costs too much
- ffoodd:
lacuisine:
Now something I found as genius as I found...
Hello!
Hey, thanks for coming! I'm Andrew, and this is where my headthinks come to breed. They often meander around humanism and photography, but they're flighty and you can't trust them, so anything is possible.
Do feel free to email me - I get lonely:

Your hair looks swish, by the way - have you done something new?
Recent Comments
- vicky: going up this weekend having done all the welsh peaks except 4 snowdon, cant wait
on Climbing Snowdon. - vicky: what, how can u live in the 21 c and say that, probably a sexist thing
on Climbing Snowdon. - vicky: da iawn laura, cant believe what im hearing, all this fuss, anyway love the site, and i agree, normal people who swear and curse clomb mountains cos we live in the...
on Climbing Snowdon. - Andrew: Did a few quick test shots to check the light levels, then balanced the camera on the arm of a bench, set it for a 20s exposure and hoped for the best
on ISS. - lynsey: Wow, how did you take that photograph?
on ISS.
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