MINI Cooper MINI Cooper specs
MINI Cooper MINI Cooper Forums MINI Cooper Pictures
Mark Forums Read MINI Cooper radio MINI Cooper latest news
 

Go Back   North American Motoring
Sign in using an external account
Register Forgot Password?

Welcome to North American Motoring !
Welcome to North American Motoring,

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!


Advertisement

Thread: flickrSig
View Single Post
  #1  
Old 01-10-2006, 03:55 PM
snid snid is offline
6th Gear
 
Join Date: Jul 2002
Location: Burlington, VT
Posts: 2,021
Gallery
flickrSig

I'm writing up a little doo-dad that will let you put thumbnails of images stored in flickr in you sig here on NAM.

First off, if all you want to do is put a specific picture's thumbnail in your sig, that's easy... find the image in flickr, click on the "All Sizes" button on the images page, click on the "thumbnail" link, grab the URL from where it says "1. Grab the photo's URL:", and put it inside an [img] tag, so it looks like this:

[img]http://static.flickr.com/5/9845471_703350e9e7_t.jpg[/img]

That will put a specific image's thumbnail in your signature (or in a post, for that matter). Great.

But, what if you want your signature to always contain your most recent upload to flickr? Here's what you can do:

[img]http://joshwardell.com/snid/flickrSig.php5?u=username&n=number[/img]
where username is you flickr username, and number is how far back in your photostream to go - 0 is the most recent photo, 1 is the photo before that, etc - I think you can only go back to photo 9... trying 10 breaks things.

So, as an example, [img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=0[/img] would load my most recent flickr upload's thumbnail. Like this:

Doing a sig like this:
[img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=0[/img] [img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=1[/img] [img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=2[/img] [img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=3[/img] [img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=4[/img]

will display my five most recent uploads:


No we're getting somewhere... Josh said "how about a random photo?" Alright, use "r" for the number, and you'll get a random photo. Like this: [img]http://joshwardell.com/snid/flickrSig.php5?u=snid&n=r[/img]

Like this:


Unfortunately, if you try to put a bunch of random photos together, they all wind up being the same. Like this:

There might be a way to fix that, but it doesn't work right now.

Since Juan created the northamericanminiacs group in flickr, I decided it would only make sense to work with groups instead of users if you wanted to. So, you can make URLs like this:
[img]http://joshwardell.com/snid/flickrSig.php5?g=groupname&n=number[/img]

Notice the use of g instead pf u. For example, this will grab the most recent upload to the "northamericanminiacs" group:
[img]http://joshwardell.com/snid/flickrSig.php5?g=northamericanminiacs&n=0[/img]

Like this:


Or, a random picture from the group:
[img]http://joshwardell.com/snid/flickrSig.php5?g=northamericanminiacs&n=r[/img]

Like this:


but there's still the same problem with trying to get more than one different random picture at a time.

I'll probably add some more goodies in the future, like stuff to let you make the pictures be links to the picture in flickr.

The biggest problem with using this stuff as a signature here on NAM is that signatures are capped at 300 characters, and URLs are kinda long.
__________________
Team Justacooper
98 hp at the wheels!
Reply With Quote
 

MINI CooperMINI Cooper PrivacyMINI Cooper Terms of UseMINI Cooper Guidelines MINI Cooper Advertising The North American MINI Cooper Community
  MINI Cooper news, forums, FAQs, and reviews for enthusiasts and owners of the North American MINI Cooper
All times are GMT -7. The time now is 05:32 AM.
 Copyright © 2002-2008 North American Motoring. All Rights Reserved.     Powered by vBulletin and vBulletin Plugins by Drive Thru Online, Inc.

All times are GMT -7. The time now is 05:32 AM.


Powered by vBulletin and vBulletin Plugins by Drive Thru Online, Inc.
North American Motoring is an independently operated web site supporting MINI owners and enthusiastsworldwide. As such it has no official relationship with MINI USA, BMW AG, or BMW of North America.All original artwork and design is Copyright © 2002-2004 North American Motoring.
Admin Account Passwords