PDA

View Full Version : Unable to grab random image, gallery created after privacy changes


denisegoldberg
Feb-18-2008, 05:06 AM
I'd like to think that this is a user error, but I'm baffled. I often grab a random photo for my blog, or for my Kaleidoscope and Gallery pages in my smugmug site. I can successfully grab random images for photos in galleries created before the new privacy & security release, but I can't grab a random image from a gallery that I created yesterday.

I'm using the random photo code from http://wiki.smugmug.com/display/SmugMug/Random+Photos+Code (http://wiki.smugmug.com/display/SmugMug/Random+Photos+Code).

My gallery is public and has external linking on. I've tried using the full album id (assuming that I need it since this is a new gallery), and I've tried using the old-style album id (didn't expect this option to work). Nothing shows with either option. Here's the link:
http://denise.smugmug.com/photos/random.mg?AlbumID=4356977_hMuEx&Size=300x300 (http://denise.smugmug.com/photos/random.mg?AlbumID=4356977_hMuEx&Size=300x300)

And here's one that works, pulling from a gallery that was created 2 weeks ago:
http://denise.smugmug.com/photos/random.mg?AlbumID=4271024_XEULJ&Size=300x300 (http://denise.smugmug.com/photos/random.mg?AlbumID=4271024_XEULJ&Size=300x300)

What am I missing here?

--- Denise

ivar
Feb-18-2008, 05:30 AM
The 'AlbumKey' is supposed to go in there, but separately :thumb.
On the 'older' galleries it will accept it as you are using it, on the newer ones not so much.

Try this one:
http://denise.smugmug.com/photos/random.mg?AlbumID=4356977&AlbumKey=hMuEx&Size=300x300 (http://denise.smugmug.com/photos/random.mg?AlbumID=4356977&AlbumKey=hMuEx&Size=300x300)

denisegoldberg
Feb-18-2008, 05:47 AM
The 'AlbumKey' is supposed to go in there, but separately :thumb.
On the 'older' galleries it will accept it as you are using it, on the newer ones not so much.

Try this one:
http://denise.smugmug.com/photos/random.mg?AlbumID=4356977&AlbumKey=hMuEx&Size=300x300 (http://denise.smugmug.com/photos/random.mg?AlbumID=4356977&AlbumKey=hMuEx&Size=300x300)
Perfect, thanks Ivar!

Can you have the random photo page in the wiki updated to reflect this?

--- Denise

ivar
Feb-18-2008, 05:48 AM
Perfect, thanks Ivar!

Can you have the random photo page in the wiki updated to reflect this?

--- DeniseYes, I will do that when I get back from work, tonight. Thanks for the reminder :thumb

devbobo
Feb-18-2008, 05:52 AM
Perfect, thanks Ivar!

Can you have the random photo page in the wiki updated to reflect this?

--- Denise

done :thumb

ivar
Feb-18-2008, 01:25 PM
done :thumbThanks!