View Full Version : Album ID and Key question
Montec
Jan-09-2009, 12:10 AM
I am trying to embed a slideshow on another website and all I get is a black box where the slideshow should be, I am following the instructions from the help pages (http://wiki.smugmug.net/display/SmugMug/Flash+Slideshow) but I think maybe I am messing up the album ID and Album key parameters.
Can anyone tell me what parts of this url is the key and what part is the ID?
kootenay.smugmug.com/gallery/4272942_hMcWs#274278409_pYHVY
Thanks
jfriend
Jan-09-2009, 12:13 AM
From the URL: http://kootenay.smugmug.com/gallery/4272942_hMcWs#274278409_pYHVY
4272942 is the albumID
hMcWs is the albumKey
274278409 is the imageID in that gallery that you were looking at when you captured this URL
pYHVY is the imageKey of the image that you were looking at
Montec
Jan-09-2009, 12:24 AM
Thanks...that makes sense.
Still getting a black box where the slideshow should be.
Any suggestions?...Anyone?
jfriend
Jan-09-2009, 12:27 AM
Thanks...that makes sense.
Still getting a black box where the slideshow should be.
Any suggestions?...Anyone?
Where are you embedding it (link please) and what exact code are you using?
Montec
Jan-09-2009, 12:31 AM
http://www.sutco.ca/test2.html
Just have it set up with a test gallery until I get it figured out then will link to actual gallery. Code is below.
<object align="middle" height="400" width="400" style="float: middle">
<param name="movie" value="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=4272942&AlbumKey=hMcWs&transparent=true&crossFadeSpeed=500&clickUrl=http ://kootenay.smugmug.com">
<embed src="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=AlbumID=AlbumID=4272942&AlbumKey=hMcWs&transparent=true&crossFadeSpeed=500&clickUrl=http ://kootenay.smugmug.com" wmode="transparent" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="400" width="400"></embed></object>
jfriend
Jan-09-2009, 12:51 AM
http://www.sutco.ca/test2.html
Just have it set up with a test gallery until I get it figured out then will link to actual gallery. Code is below.
<object align="middle" height="400" width="400" style="float: middle">
<param name="movie" value="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=4272942&AlbumKey=hMcWs&transparent=true&crossFadeSpeed=500&clickUrl=http ://kootenay.smugmug.com">
<embed src="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=AlbumID=AlbumID=4272942&AlbumKey=hMcWs&transparent=true&crossFadeSpeed=500&clickUrl=http ://kootenay.smugmug.com" wmode="transparent" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="400" width="400"></embed></object>
I see several issues. First, you have to go to http://api.smugmug.com, not http://www.smugmug.com for the SWF file. Then, you have AlbumID in there a bunch of times. Then, you have a space in two of the URLs. When I plug this fixed code below into a local copy of your web page, the slideshow works:
<object style="" width="400" align="middle" height="400">
<param name="movie" value="http://api.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=4272942&AlbumKey=hMcWs&transparent=true&crossFadeSpeed=500&clickUrl=http ://kootenay.smugmug.com">
<embed src="http://api.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=4272942&AlbumKey=hMcWs&transparent=true&crossFadeSpeed=500&clickUrl=http://kootenay.smugmug.com" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" allownetworking="all" width="400" height="400"></object>
Here's what it looks like:
http://content.screencast.com/users/jfriend/folders/Jing/media/b1ea6aa1-e292-45f4-bca5-73af66c98dde/2009-01-09_0049.png
Montec
Jan-09-2009, 01:39 AM
Thanks...too late in the night for this, I copied and pasted the album ID and never removed the old code :huh
The code on the help page (http://wiki.smugmug.net/display/SmugMug/Flash+Slideshow) shows http://www.smugmug.com (http://www.smugmug.com/) for the SWF file...no API in front. Might be a mistake there.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.