View Full Version : SmugBadges (For blogs etc.)
RichardJohn
Sep-20-2007, 02:28 PM
SmugBadges (http://meejer.com/smugbadges)
SmugBadges generates Flickr badge like widgets for blogs, websites etc.
It's a bit basic at the moment, but I'll make some improvements over the weekend. You can also style it yourself with CSS (I'll probably be tweaking the design a bit soon).
edit: Probably should have mentioned what it does better! It gets your most recently uploaded images. Any suggestions very welcome!
Andy
Sep-20-2007, 02:43 PM
Neat - I'll try it out in a bit :thumb
RogersDA
Sep-20-2007, 08:26 PM
SmugBadges (http://meejer.com/smugbadges)
SmugBadges generates Flickr badge like widgets for blogs, websites etc.
It's a bit basic at the moment, but I'l lmake some improvements over the weekend. You can also style it yourself with CSS (I'll probably be tweaking the design a bit soon).
Not working for me in FF or IE.
DavidTO
Sep-20-2007, 08:31 PM
Works in Safari! :thumb
(But I got 9 images all from the same gallery :cry )
RichardJohn
Sep-20-2007, 09:46 PM
Not working for me in FF or IE.
Working here in FF (Gecko), IE (Trident), Opera (Presto), and Konqueror (KHTML/WebKit), so that should mean working in all major browsers! Do you have Javascript turned off?
Works in Safari! :thumb
(But I got 9 images all from the same gallery :cry )
It's your most recent images - is there a different order you'd like to see?
Not working here in FF. It just grabs the description and not the photos.
IE not working either.
http://www.andrewmurdoch.net/photos/198376942-L.jpg
Andrew
RichardJohn
Sep-20-2007, 09:58 PM
Not working here in FF. It just grabs the description and not the photos.
Andrew
Are you sure that wasn't just the images loading? Sounds like you were seeing the alt text.
Are you sure that wasn't just the images loading? Sounds like you were seeing the alt text.Well it says it's done...
I posted a screenshot above.
tried on two different websites too ...
Andrew
RichardJohn
Sep-20-2007, 10:20 PM
Well it says it's done...
I posted a screenshot above.
tried on two different websites too ...
Andrew
I just looked with your username.. for some reason your RSS feed is returning http://lsv.smugmug.com/photos/140525494-Ti-1.jpg as the image URL, rather than http://lsv.smugmug.com/photos/140525494-Ti.jpg . I'm not sure why this is happening - I'll have to wait for someone from SmugMug to comment!
marlof
Sep-20-2007, 10:21 PM
It returns images for me in FF2 on WinXP SP2. But... it grabs all images from the gallery where the most recent images are. I know for a fact that of the 9 latest images, at the most 6 are in my gallery of Maastricht NL (other newer images are in the Meinweg gallery), but if I use a setting of more than 6, it still only returns images from the Maastricht gallery, even if the images over 6 are way older than images from other directories.
RichardJohn
Sep-20-2007, 10:33 PM
Hmm, it's taking the "recent photos" RSS feed. I hadn't imagined it would work like that (and since all my galleries revolve around events, hadn't noticed). I'll have to write my own code for getting the most recent images, although this will slow it down quite a bit.
That's 2 problems with that feed now!
I just looked with your username.. for some reason your RSS feed is returning http://lsv.smugmug.com/photos/140525494-Ti-1.jpg as the image URL, rather than http://lsv.smugmug.com/photos/140525494-Ti.jpg . I'm not sure why this is happening - I'll have to wait for someone from SmugMug to comment!It means that it has been altered on Smugmug, eg rotated etc.
Andrew
RichardJohn
Sep-20-2007, 10:48 PM
Hmm, regardless, there's still no image at the image it provides. Perhaps they're not generating the tiny thumbnails after modification?
ivar
Oct-14-2007, 12:27 AM
Hey Richard,
For some reason, the page (step2?) with the badge is not showing in IE6, but I can view the same page in FF. Any ideas? :ear
RichardJohn
Oct-14-2007, 01:29 PM
Hey Richard,
For some reason, the page (step2?) with the badge is not showing in IE6, but I can view the same page in FF. Any ideas? :ear
Fixed - IE7 wanted a full closing tag, rather than a self closing.
The app is still a bit broken until the problems with the feeds and thumbnails are fixed!
claudermilk
Oct-15-2007, 07:37 AM
I'm getting the same as Dna, just text. :dunno
RichardJohn
Oct-15-2007, 08:57 AM
I'm getting the same as Dna, just text. :dunno
It's because you've modified your photos. SmugMug doesn't seem to generate new tiny thumbnails for modified photos. I can't really fix it until SmugMug fixes it!
onethumb
Oct-15-2007, 11:47 AM
It's because you've modified your photos. SmugMug doesn't seem to generate new tiny thumbnails for modified photos. I can't really fix it until SmugMug fixes it!
No, that's not it. Both URLs would work - but I believe those galleries have External Links disabled. :)
darryl
Nov-13-2007, 11:19 PM
Found another bug -- you're not escaping your text. So my single quote in a caption is screwing things up here:
http://www.darryl.com/smugbadges.html
(Actual feed here: http://gladlee.smugmug.com/hack/feed.mg?Type=nicknameRecentPhotos&Data=gladlee&format=rss200)
--Darryl
darryl
Nov-13-2007, 11:24 PM
Also, when I tried this with the dgrin feed, I got this broken image: badge-top.png
http://www.darryl.com/smugbadges2.html
It doesn't exist in my root directory. Is it supposed to be pulled from your website?
Neat stuff though! Alas, it won't work with a site-wide-password-protected site, so I'm still working on my Javascript-only solution (with which I need lots of help). :-}
devbobo
Nov-13-2007, 11:33 PM
Found another bug -- you're not escaping your text. So my single quote in a caption is screwing things up here:
http://www.darryl.com/smugbadges.html
(Actual feed here: http://gladlee.smugmug.com/hack/feed.mg?Type=nicknameRecentPhotos&Data=gladlee&format=rss200)
--Darryl
Darryl,
Is it a single quote ? or the carriage return in your title/description ?
I believe the latter.
David
jasonstone
Nov-14-2007, 04:58 AM
Works for me in Firefox on Windoze XP
and IE on Windoze XP
although the smugmug logo is not showing up on either
check out www dot louandjase dot com if you like - ignore the family stuff please :)
Cheers
Jase
Jamfish
Dec-03-2007, 10:17 AM
Not working here in FF. It just grabs the description and not the photos.
IE not working either.
http://www.andrewmurdoch.net/photos/198376942-L.jpg
Andrew
It seems we're back to this behavior again this morning; with the exception of the SmugMug logo png not appearing correctly, it was working fine yesterday.
Now, I'm just getting the alt text for each photo this morning (as pictured).
jasonstone
Dec-03-2007, 10:56 PM
still working in FF and IE for me....
except the smugmug logo which never shows
Jase
Jamfish
Dec-04-2007, 12:28 PM
still working in FF and IE for me....
except the smugmug logo which never shows
Jase
Doh! My last bulk-edit included turning all 'external links' off! I still have the broken SmugMug logo, but at least the pics are showing now that I've turned external links back on.
JimM
Dec-07-2007, 04:33 PM
This is very cool! Thanks!
thenimirra
Feb-16-2008, 08:32 PM
I would like to add this badge to my blog as well but all I get in my preview is a single gray bar with no photos or anything else showing. Can someone please help? Thanks
picture-yourworld.com
fiatsurf
Feb-16-2008, 10:15 PM
Cool stuff! Works fine on my blog... is there a way to make it so the links open automatically in a new window? I know the old html way (a target="_blank") but don't know if that would apply to this... thanks, Toby
Jamfish
Mar-27-2008, 10:26 AM
I would like to add this badge to my blog as well but all I get in my preview is a single gray bar with no photos or anything else showing. Can someone please help? Thanks
picture-yourworld.com
That would be because the account where the badge rendering takes place has been suspended:
Account suspended
Account for domain meejer.com has been suspended
*sigh* SmugMug: would it be too much to ask to have some sort of properly supported version?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.