Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help?

Go Back   Digital Grin Photography Forum > Support > SmugMug APIs, Hacks & Tricks
Dgrinner
Password
Register FAQ Shooters Calendar Reviews Tutorials Gallery Books Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Aug-28-2008, 02:47 PM   #1
robnyman
Beginner grinner
 
Join Date: Aug 2008
Posts: 7
JSON badge with random images

Hi all,

First, let me apologize if I have missed anything, but I feel that I have searched hi and lo for a good solution.

What I want to do is a very common desire, and which is, for instance, one of the default script badges offered by Flickr. In my web site, I want to present 10 photos taken randomly from all my pictures which are in public galleries.

Preferably, I'd like to get this information as JSON so I can add it dynamically, but I'd be content with just a script-block to include too.

I have seen the functionality which offers a random image (random.mg), but the only option there is to get an automatically generated link to the gallery/album, not the actual image with the other ones as thumbnails to the left. Also, I then had to provide album ids and keys, which kills the point of being flexible with new albums.

Therefore, I humbly ask: is there a good solution for this?


Best regards,
Robert Nyman
robnyman is offline   Reply With Quote
 

Tell The World!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Times are GMT -8.   It's 11:00 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.