<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Daggle &#187; Photos</title>
	<atom:link href="http://daggle.com/category/photos/feed" rel="self" type="application/rss+xml" />
	<link>http://daggle.com</link>
	<description>Danny Sullivan&#039;s Personal Blog</description>
	<lastBuildDate>Mon, 30 Aug 2010 22:26:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding A Flickr Photo Stream To My Blog</title>
		<link>http://daggle.com/adding-a-flickr-photo-stream-to-my-blog-183</link>
		<comments>http://daggle.com/adding-a-flickr-photo-stream-to-my-blog-183#comments</comments>
		<pubDate>Sat, 02 Sep 2006 12:13:43 +0000</pubDate>
		<dc:creator>Danny Sullivan</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://daggle.com/wordpress/?p=183</guid>
		<description><![CDATA[
.flickr_badge_image {text-align:center !important;}
.flickr_badge_image img {border: 1px solid black !important;}








When I first launched my
personal blog, I meant to have a few photos at the top
rotating in. I didn&#8217;t use Flickr then, nor did I ever get photos in place by
uploading them to my own server.  I finally got picturelicious tonight,
thanks to Chris Person&#8217;s great tutorial,

Add [...]]]></description>
			<content:encoded><![CDATA[<p></p><style type="text/css">
.flickr_badge_image {text-align:center !important;}
.flickr_badge_image img {border: 1px solid black !important;}
</style>
<table cellpadding="0" cellspacing="10" border="0" id="flickr_badge_wrapper">
<tr>
<td>
<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=5&#038;display=random&#038;size=s&#038;layout=h&#038;source=user_tag&#038;user=26286356%40N00&#038;tag=photostream"></script></p>
<td>
</tr>
</table>
<p>When I first <a href="http://daggle.com/050219-201400.html">launched</a> my<br />
personal blog, I meant to have a few photos at the top<br />
rotating in. I didn&#8217;t use Flickr then, nor did I ever get photos in place by<br />
uploading them to my own server.  I finally got picturelicious tonight,<br />
thanks to Chris Person&#8217;s great tutorial,<br />
<a href="http://www.pearsonified.com/2006/03/how_to_add_a_styled_flickr_pho.php"><br />
Add a Styled Flickr Photo Stream to Your Blog</a>.</p>
<p>I came across his guide when I was looking for some new designs for my blog<br />
here and for the <a href="http://dailysearchcast.com/">Daily SearchCast</a>,<br />
plus a few other little projects I&#8217;m doing. I thought of blogs with looks I<br />
liked, and Aaron&#8217;s <a href="http://www.seobook.com/">SEO Book</a> was one of<br />
them. Chris did Aaron&#8217;s blog, I <a href="http://www.seobook.com/about.shtml"><br />
learned</a>, so I headed over to <a href="http://www.pearsonified.com/">Chris&#8217;s<br />
place</a> and found the tutorial.</p>
<p>Here are a few tips from my experience tonight, if you decide to dive in.</p>
<p><span id="more-183"></span></p>
<p>In Step 2, Chris tells you to get your Flickr badge using a link that&#8217;s<br />
pretty prominent in the screenshot he shows. That link seems to have done in the<br />
wake of Flickr&#8217;s &quot;gamma&quot; redesign in<br />
<a href="http://blog.flickr.com/flickrblog/2006/05/alpha_beta_gamm.html">May</a>.</p>
<p>Hunting through the help files, I finally found the<br />
<a href="http://flickr.com/badge_new.gne">Flickr Badge</a> page. Then I<br />
continued on with his steps. When I got to the style part, it sort of freaked me<br />
out, even with him simplifying stuff. Part of the problem is that Flickr throws<br />
a bunch of styles at you that actually are commented out and not used, as best I<br />
can tell. You can use them, if you<br />
know what to do. If you don&#8217;t, it&#8217;s just scary crud.</p>
<p>I&#8217;ll get back to that, but I found myself more interested in the process of<br />
choosing what to feed to the stream than styling it up. Using the badge maker,<br />
you can decide to show ALL your public photos, just some that are tagged in<br />
certain categories or those from a specific set.</p>
<p>At first, I just grabbed photos from my<br />
<a href="http://flickr.com/photos/dannysullivan/sets/72157594233413316/">SES San<br />
Jose 2006 set</a>. Then I wanted more. I didn&#8217;t want all my public photos,<br />
however. Some of them are pictures I&#8217;ve put up to illustrate things, rather than<br />
fun ones of people. As a solution, I created a new tag:<br />
<a href="http://flickr.com/photos/dannysullivan/tags/photostream/">photostream</a>.<br />
Anything I thought would be cool to show in my photostream got tagged this way.<br />
Flickr&#8217;s rocking Organize feature that <a href="http://www.davidnaylor.co.uk/"><br />
Dave Naylor</a> turned me on to made it easy to quickly add this tag to a bunch<br />
of my photos.</p>
<p>Down the line, this also means it&#8217;s possible to easily make photo streams for<br />
different pages. Next time I do a post on a topic where I also have a lot of<br />
photos, I&#8217;ll create a stream just for pictures tagged with that topic.</p>
<p>When you make the stream, Flickr lets you choose 1, 3, 5 or 10 pictures.<br />
Well, I wanted 7. No problem. It was pretty easy to figure out the coding.<br />
You&#8217;ve got one key line like this, which I&#8217;ve broken into the key elements.</p>
<blockquote>
<p>http://www.flickr.com/badge_code_v2.gne?<br />
count=7<br />
&amp;display=random<br />
&amp;size=s<br />
&amp;layout=h<br />
&amp;source=user_tag<br />
&amp;user=26286356%40N00<br />
&amp;tag=photostream</p>
</blockquote>
<p>I used the badge maker to generate it initially with 5 photos, then I changed<br />
the number next to count= to 7, and that was it. It doesn&#8217;t look like you can<br />
have more than 10 pictures, but by changing the number, you should be able to<br />
get whatever count you want between 1 and 10.</p>
<p>I originally went with thumbnails, like this:</p>
<style type="text/css">
.flickr_badge_image img {border: 1px solid black !important;}
</style>
<table cellpadding="0" cellspacing="10" border="0" id="flickr_badge_wrapper">
<tr>
<td>
<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=5&#038;display=random&#038;size=t&#038;layout=h&#038;source=user_tag&#038;user=26286356%40N00&#038;tag=photostream"></script></p>
<td>
</tr>
</table>
<p>Then I changed my mind. The problem was that it looked great when everything<br />
was horizontal. But the vertical pictures made it hard to fit neatly alongside<br />
my logo (if you don&#8217;t see any, try refreshing this page. Pictures are randomly<br />
selected each time).</p>
<p>That&#8217;s why I shifted over to a square display. It made everything nice and<br />
neat (Frank Gruber at <a href="http://www.somewhatfrank.com/">Somewhat Frank</a> does<br />
this as well &#8212; another site with a nice design I like, especially that big fat<br />
feed icon and subscribe box in the right-hand corner).</p>
<p>Of course, what would be great is if Flickr had a way to let me quickly sort<br />
and only show horizontal photos automatically. Looking quickly, I didn&#8217;t seen an<br />
option to do this. Moreover, the batch editing in the Organizer makes everything<br />
into squares. It&#8217;s impossible to use that to quickly remove any vertical pics out<br />
of your photostream. Here&#8217;s wishing for the feature in the future.</p>
<p>The last step of the badge maker lets you do some customization of the box<br />
holding your pictures. Annoyingly, you can&#8217;t drop the Flickr logo as part of<br />
this. Hey, I went Pro. Don&#8217;t make me have to remove it manually!</p>
<p>OK, so you have to. It&#8217;s pretty easy. In fact, like Chris (but far less<br />
skillfully and knowledgably), I dumped a ton of the crud coming out of the<br />
generator.</p>
<p>The pictures in this post above basically rely on this old fashioned table<br />
and one style element:</p>
<pre><font size="1">&lt;style type=&quot;text/css&quot;&gt;
.flickr_badge_image img {border: 1px solid black !important;}
&lt;/style&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;10&quot; border=&quot;0&quot; id=&quot;flickr_badge_wrapper&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.flickr.com/badge_code_v2.gne?
count=5&amp;display=random&amp;size=t&amp;layout=h&amp;source=user_tag&amp;user=26286356%40N00
&amp;tag=photostream&quot;&gt;&lt;/script&gt;
&lt;td&gt;
&lt;/tr&gt;
&lt;/table&gt;</font></pre>
<p>Maybe there&#8217;s more that could go, and yes yes, I know I should<br />
be making tableless tables with CSS. CSS rocks. It awesome. And someday, I&#8217;ll<br />
have time to play with it more. Until then, I&#8217;ll hire Chris &#8212; if he wasn&#8217;t so<br />
damn busy!</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdaggle.com%2Fadding-a-flickr-photo-stream-to-my-blog-183&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://daggle.com/adding-a-flickr-photo-stream-to-my-blog-183/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
