Badge for recent photos?
dberthia
Registered Users Posts: 117 Major grins
I posted this in a different section, then realized it probably belongs here:
Is there a simple way to create a badge/widget I can use on my web site to display just my latest <n> photos in a grid? This is a no-brainer in Flickr, but apparently the official SmugMug badge will only display images from a specific gallery. Am I missing something?
Is there a simple way to create a badge/widget I can use on my web site to display just my latest <n> photos in a grid? This is a no-brainer in Flickr, but apparently the official SmugMug badge will only display images from a specific gallery. Am I missing something?
0
Comments
You'll want to look for the string that looks like this:
And replace it with this:
Where YOURSMUGMUGNICKNAME is the first part of your http://NICKNAME.smugmug.com website address.
Ooh, it looks like the Dgrin forum software broke up my code above, so here's a cleaner link (all on one line):
Yeap. Works. Here's my test: http://www.darryl.com/smugbadges.html
(Of course those are all from the same gallery... Oh well.)
--Darryl
I have the same question: how do I make the Most Recent badge?
The code hack given above doesn't work for me
Neither works the Customizer wizard. It provides the Most Recent option, but constantly fails to build the MostRecent badge. All other kinds of badges (Gallery, Popular) work perfectly.
http://www.jonathanhoule.com/
Yep, you can do that. Just replace the albums feed url in the above example by darryl to a keyword feed. Here's an example of mine that grabs photos with the 'slideshow' keyword:
You need to change the NickName and Data values to your NickName and keyword respectively.
Here's darryl's example test page modified to use the keyword feed: http://www.sharedmemory.net/smugbadge.html
Just view the source.
In case that page ever goes away, here's the full source code:
David
Frogcake,
I'm looking at your code and understand most of it, but I can't see where your keyword is. I was hoping to have the badge pull from one gallery all the photos with a single keyword like "web".
I tried this and must be missing something or I missed a section that points it to my smug site.
SmugMug: www.randyjacksonimages.com
Email: randyjacksonimages@cox.net
Photography Blog: http://randyonphotography.com
You put the keyword in the bit after 'Data'. For example, if your SmugMug nickname is 'r9jackson' and your keyword is 'cactus' then your albums feed url will be this:
I don't think you can restrict it to a single gallery, though.
Thank you, Thank you, Thank you. IT WORKS !!
I have just inserted the "Frogcake" Badge in my photography blog that I have written about Sedona, Arizona (it will post Wednesday morning). I made the keyword "sedonaweb" and placed it on 12 photos that I wanted to display. They can be in a single gallery, if that is the only place you use that keyword. This makes badging very powerful. Imagine, if you wanted to have a mini slide show to illustrate almost anything in any blog on the net, you can now do it.
Andy, you should note this and include it as a feature in all of SmugMug land.
SmugMug: www.randyjacksonimages.com
Email: randyjacksonimages@cox.net
Photography Blog: http://randyonphotography.com
I posted my blog entry about Sedona as a Photographers Paradise a little early so that you can check it out. http://www.randyonphotography.com/2010/01/sedona-arizona-photographers-paradise.html
SmugMug: www.randyjacksonimages.com
Email: randyjacksonimages@cox.net
Photography Blog: http://randyonphotography.com
SmugMug: www.randyjacksonimages.com
Email: randyjacksonimages@cox.net
Photography Blog: http://randyonphotography.com
SmugMug: www.randyjacksonimages.com
Email: randyjacksonimages@cox.net
Photography Blog: http://randyonphotography.com
Website is www.lercheberg.com
The code in my bio box currently is:
<html>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="100"><param name="movie" value="http://cdn.smugmug.com/swfs/badge/flashbadge.swf?useLargeImages=true&nickName=Lercheberg&feedType=popularNickname&BadgeHost=cdn.smugmug.com&albumID=15568120&albumKey=LsUHn&width=900&height=100&gridSpacing=1&gridColumns=9&gridRows=1&background=%23000000&preloaderColor=&preloaderGlow=&gridDelay=1&slideshowDelay=1&order=random&forceSize=&showCaptions=false&introMode= dropdown &aboutlink=&sharelink=&albums=" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><embed src="http://cdn.smugmug.com/swfs/badge/flashbadge.swf?useLargeImages=true&nickName=Lercheberg&feedType=popularNickname&BadgeHost=cdn.smugmug.com&albumID=15568120&albumKey=LsUHn&width=900&height=100&gridSpacing=1&gridColumns=9&gridRows=1&background=%23000000&preloaderColor=&preloaderGlow=&gridDelay=1&slideshowDelay=1&order=random&forceSize=&showCaptions=false&introMode= dropdown &aboutlink=&sharelink=&albums=" width="900" height="100" wmode="transparent" allowScriptAccess="always" ></embed></object>
</html>
Hi Lerche: Hrm. I think that once people log into your site, the badge should start working. Yeah, working for me:
http://darryl.smugmug.com/
Password: test
But if you're just trying to show Popular photos, maybe you should just consider adding that Homepage box:
http://www.smugmug.com/help/homepage-boxes
How do I loop in a hero?