Help
Hi Everyone. I'm trying to setup SmugSSP on my website and can't get the images to load into the interface. I've double checked everything and still can't find the problem. The SWF refers to smugssp.php, all the files have been uploaded, and I setup the config file to what I think is right. I PM'd the OP about it and he let me know he will look into it but I am looking for help here, too. The link to it is:
Hi Everyone. I'm trying to setup SmugSSP on my website and can't get the images to load into the interface. I've double checked everything and still can't find the problem. The SWF refers to smugssp.php, all the files have been uploaded, and I setup the config file to what I think is right. I PM'd the OP about it and he let me know he will look into it but I am looking for help here, too. The link to it is:
hey devbobo any way to use this with password protected galleries? I mean have ssp or something prompt the user for the password before seeing the pics?
- Fixes an issue related to an API change.
- I changed the configuration parameters a little bit, but it should be backward compatible..see readme.txt for more info
- Fixed an issue that was plaguing a few users after upgrade, as a result the old configruation format is not supported.
If you have a configuration like below...
// Your SmugMug username
$smugssp_config['username'] = '';
// The api key used to access SmugMug
// You can request one of these at: http://www.smugmug.com/hack/apikeys
$smugssp_config['api_key'] = '';
// Path and filename for the cached xml file
$smugssp_config['xml'] = 'images.xml';
// How often should the update the xml file in seconds
// (86400 seconds = 1 day)
$smugssp_config['cache_period'] = 86400;
$smugssp_config['thumb_size'] = '60x60';
$smugssp_config['photo_size'] = '549x360';
/* -----------------------------------------------
Do not edit below this point
----------------------------------------------- */
include('inc/smugssp.class.php');
[B]$smugssp = new smugssp($smugssp_config, '1234, 54321');[/B]
The new format should look like this...
// Your SmugMug username
$smugssp_config['username'] = '';
// The api key used to access SmugMug
// You can request one of these at: http://www.smugmug.com/hack/apikeys
$smugssp_config['api_key'] = '';
// Path and filename for the cached xml file
$smugssp_config['xml'] = 'images.xml';
// How often should the update the xml file in seconds
// (86400 seconds = 1 day)
$smugssp_config['cache_period'] = 86400;
$smugssp_config['thumb_size'] = '60x60';
$smugssp_config['photo_size'] = '549x360';
[B]$smugssp_config['albums'] = array(1234,54321);[/B]
/* -----------------------------------------------
Do not edit below this point
----------------------------------------------- */
include('inc/smugssp.class.php');
[B] $smugssp = new smugssp($smugssp_config);[/B]
Please note that this is primarily for someone who has an external website who wishes to retrieve SmugMug images for use with the SlideShowPro flash component.
Cheers,
David
I assume I could use this on SM too...
is there a benefit to using this method for a slideshow if I am currently using the SS hack?
Can not get the slideshow to work...
Its seems that I am also just getting the blank page staring back at me. I created an API file, and entered my username, followed all directions, still no go. I think it may be due to the xml permissions. I cannot chmod 777 the file as it is a Frontpage server. Any ideas?
Thanks much and KUTGW!
Hi - you must change the chmod to 777. Perhaps download some type of 'free' or 'trail' ftp application and change it that way. You also might want to change the time (cache_period) so that the refresh happens more than once a day (depending on how often you change your gallery pictures).
I just installed this on the youth football site I am the webmaster for -
everyone loves it (www.shelbylions.com).
It is also running on my site (www.jrphotosandwebdesign.com) and a
few others (www.jakigoodphotography.com and www.kbrememberme.com)
questions - please let me know - devbobo was very helpful to me in getting this to run!
Its seems that I am also just getting the blank page staring back at me. I created an API file, and entered my username, followed all directions, still no go. I think it may be due to the xml permissions. I cannot chmod 777 the file as it is a Frontpage server. Any ideas?
Thanks much and KUTGW!
Ok a quick question, I really like this hack, How do I get it to automatically update the xml each day? I tried to get it to automatically pull using cron, but that didn't seem to work? Anyone have any ideas?
Ok a quick question, I really like this hack, How do I get it to automatically update the xml each day? I tried to get it to automatically pull using cron, but that didn't seem to work? Anyone have any ideas?
if you want to do it that way...
1. link to the images.xml with the slideshowpro flash component.
2. in smugssp.php, set $smugssp_config = 0;
3. from your cron job, call http://server/path/smugssp.php
Your ntoe crazy
I too would like the ability to load different XML files. I can think of a couple of neat ways to integrate this into my drupal module for smugmug. You can see what i have so far at www.warmy.com/gallery ...
Hi - I have multiple versions the slideshow pro on my site. Each 'version' reads the images from a different gallery or category. What I did was:
1. Created a different directory of all of the files for each 'version' on my server .
2. I gave each directory an unique name.
3. In the swf file, I gave provide the unique XML file path.
example: http://www.myservername.com/smugsspjrv01/smugssp.php for flash slideshow smugsspjrv01
4. Within the directory 'smugsspjrv01' , I modified the variables in 'smugssp.php' to extract the images from specific galleries. Likewise, within the directory 'smugsspjrv02', I modified the variables in 'smugssp'php' to extract the images from, again, the specific files.
http://www.shelbylions.com
(pulls images from my Shelby Lions portfolio -Flash file stored on my server and pulls the images from my smugmug gallery - cool stuff)
Different versions of the slideshowpro as well as different galleries and categories
I hope this information is helpful - questions, please feel free to ask
Thanks again to devbobo for his wonderful help and coaching!
That's close but I'm trying to do this in an automated fashion so that, ultimately, my client can simply post the ID of a gallery he wants featured into a field, and then behinds the scenes, the necessary files are generated to showcase just that gallery. For that reason, I think I want my solution to be contained in one directory, but I'm not sure if that's feasable.
First, thanks for your efforts on this mate - I really appreciate it!
I've given up on trying to integrate smugmug with Monoslideshow . . . and seeing as Slideshowpro is inexpensive and seems well built AND you've gone to all theses trubs to make this API hack available . . . I'm going to move to Slideshowpro (Hmmmm . . . cost of Flash could be an issue?)
I've downloaded your package and set it uo . . . I've had some luck, however I'm confused about two issues.
(1) When I try to reference multiple galleries I only get one gallery?
(2) Is there a "workflow" where we are meant to edit the images.xml file - or is that automatically overwritten by the script (hence the need for 777)?
Thanks again mate for all your efforts.
Cheers from Tasmania,
Thomas
Dr. Thomas Moore, MSME, PhD.
Photographer - Oceanographer - Digital Media
* The slideshow pulls the images from a specific gallery; all Jaki needs to do is add/change/delete the images in the gallery (easy!)
* The page which shows the slideshow randomly creates the slideshow from a set of specific galleries; this way, the same visitors dont get use to see the same slideshow gallery everytime! Click on the 'Home' link on the nav bar and the slideshow may show you images from the Seniors Portfolio or Wedding Portfolio (more to come....)
* The thumbnails in the banner are also slideshow pro slideshows - again - pulling the images from specific galleries
questions on smugmug and slideshow - please feel free to ask jerryr
Hi - What verison of slideshow pro are you using ?
If you are using 1.7 or 1.8, you can use the OPML method and simply
do a feed. There are instructions in the slideshow pro pdf about the
OPML file - it is easy to create with smugmug...
Then I tried just pluggin the rss feed right into ssp and no luck.
I think ultimately smugssp is the best solution for me. I need to have my slide shows update just based on smugmug activity. Not all our photographers will have access to the web site so when they add a new gallery it need to be reflected in on the web without any access to changing docs on the server.
For future reference I would like to figure out this opml thing though.
Of course, replaacing the ###### with your Album ID and Key
ps - new slideshow functionality coming soon !!!
- jerryr
Jerry,
Would you kindly post a quick tutorial on how to set this up using OPML. From start to finish. I used Smugssp for a awhile but stoped using it when i decided to not renew my host.
The 'swf' file is within the smugsspjrtest directory on the server.
The 'fla' file has the following parameters set:
XML FILE PATH : http://www.webdesignsbyjr.com/smugsspjrtest/opml.xml
XML FILE TYPE: OPML
(The opml.xml is located within the smugsspjrtest directory on the server)
Comments
Hi Everyone. I'm trying to setup SmugSSP on my website and can't get the images to load into the interface. I've double checked everything and still can't find the problem. The SWF refers to smugssp.php, all the files have been uploaded, and I setup the config file to what I think is right. I PM'd the OP about it and he let me know he will look into it but I am looking for help here, too. The link to it is:
http://www.kevinschaefer.net/slideshow.html
http://www.kevinschaefer.net/slideshow.swf
http://www.kevinschaefer.net/smugssp.php
(the rest of the files are all placed in the same directory)
Hi Kevin,
If I don't get to it toda, I will look tomorrow...i am in the middle of doing some renovations.
CHeers,
David
SmugMug API Developer
My Photos
http://www.backatchaphotography.com
- Fixes an issue related to an API change.
- I changed the configuration parameters a little bit, but it should be backward compatible..see readme.txt for more info
SmugMug API Developer
My Photos
- Fixed an issue that was plaguing a few users after upgrade, as a result the old configruation format is not supported.
If you have a configuration like below...
The new format should look like this...
There is more infomation in the Readme.txt file.
SmugMug API Developer
My Photos
Here is my Slideshow Pro using 1.0.2
http://jrphotos.smugmug.com/gallery/1104104
Very cool...
- jr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
I still cannot seem to figure out the weirdness with my Sands theme....do you think going this route would help?
-Robert
www.vegasphotographics.com
Home page - pulls pictures from specific galleries (left side) and pulls pictures from the popular gallery (right side)
www.jrphotosandwebdesign.com
Slideshow in header:
www.jrphotosandwebdesign.com/courtneyandjohnny
Pulls galleries from Category and lets the end-user navigate:
http://www.jrphotosandwebdesign.com/gallery/3039760
cool stuff and again, thank you to Devbobo for putting this together !!!
- jr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
I assume I could use this on SM too...
is there a benefit to using this method for a slideshow if I am currently using the SS hack?
Its seems that I am also just getting the blank page staring back at me. I created an API file, and entered my username, followed all directions, still no go. I think it may be due to the xml permissions. I cannot chmod 777 the file as it is a Frontpage server. Any ideas?
Thanks much and KUTGW!
I just installed this on the youth football site I am the webmaster for -
everyone loves it (www.shelbylions.com).
It is also running on my site (www.jrphotosandwebdesign.com) and a
few others (www.jakigoodphotography.com and www.kbrememberme.com)
questions - please let me know - devbobo was very helpful to me in getting this to run!
- jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
if you want to do it that way...
1. link to the images.xml with the slideshowpro flash component.
2. in smugssp.php, set $smugssp_config = 0;
3. from your cron job, call http://server/path/smugssp.php
Cheers,
David
SmugMug API Developer
My Photos
For example, album id 3438927 could have a file 3438927.xml
Am I crazy?
I too would like the ability to load different XML files. I can think of a couple of neat ways to integrate this into my drupal module for smugmug. You can see what i have so far at www.warmy.com/gallery ...
1. Created a different directory of all of the files for each 'version' on my server .
2. I gave each directory an unique name.
3. In the swf file, I gave provide the unique XML file path.
example:
http://www.myservername.com/smugsspjrv01/smugssp.php for flash slideshow smugsspjrv01
http://www.myservername.com/smugsspjrv02/smugssp.php for flash slideshow smugsspjrv02
4. Within the directory 'smugsspjrv01' , I modified the variables in 'smugssp.php' to extract the images from specific galleries. Likewise, within the directory 'smugsspjrv02', I modified the variables in 'smugssp'php' to extract the images from, again, the specific files.
results:
http://www.jrphotosandwebdesign.com/gallery/1104104
(pulls images from my wedding portfolio gallery)
http://www.jrphotosandwebdesign.com/gallery/3039760
(pulls images from cars and landscaping categories)
http://www.shelbylions.com
(pulls images from my Shelby Lions portfolio -Flash file stored on my server and pulls the images from my smugmug gallery - cool stuff)
Different versions of the slideshowpro as well as different galleries and categories
I hope this information is helpful - questions, please feel free to ask
Thanks again to devbobo for his wonderful help and coaching!
- jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
That's close but I'm trying to do this in an automated fashion so that, ultimately, my client can simply post the ID of a gallery he wants featured into a field, and then behinds the scenes, the necessary files are generated to showcase just that gallery. For that reason, I think I want my solution to be contained in one directory, but I'm not sure if that's feasable.
G'day DB,
First, thanks for your efforts on this mate - I really appreciate it!
I've given up on trying to integrate smugmug with Monoslideshow . . . and seeing as Slideshowpro is inexpensive and seems well built AND you've gone to all theses trubs to make this API hack available . . . I'm going to move to Slideshowpro (Hmmmm . . . cost of Flash could be an issue?)
I've downloaded your package and set it uo . . . I've had some luck, however I'm confused about two issues.
(1) When I try to reference multiple galleries I only get one gallery?
(2) Is there a "workflow" where we are meant to edit the images.xml file - or is that automatically overwritten by the script (hence the need for 777)?
Thanks again mate for all your efforts.
Cheers from Tasmania,
Thomas
Photographer - Oceanographer - Digital Media
ThomasMoorePhotography - Blog
www.ThomasMoorePhotography.com
www.DigitalTasmania.com
www.CoastView.com.au
thomas.moore@coastview.com.au
0409681127
Seems this thread has run cold?
Does anyone have this Smugmug / SSP integration working currently with the up-to-date version of SSP 1.6.x??
Thanks in advance.
Photographer - Oceanographer - Digital Media
ThomasMoorePhotography - Blog
www.ThomasMoorePhotography.com
www.DigitalTasmania.com
www.CoastView.com.au
thomas.moore@coastview.com.au
0409681127
G'day Thomas,
I believe it should be working, i'm heading to the US tomorrow, but I promise I will check it out sometime next week.
Cheers,
David
SmugMug API Developer
My Photos
Thanks David . . . enjoy the US.
I'll give it another hack in the mean time. . .
BTW, SSP for Lightroom is out and may interest those who would rather not work in a Flash ap?
Photographer - Oceanographer - Digital Media
ThomasMoorePhotography - Blog
www.ThomasMoorePhotography.com
www.DigitalTasmania.com
www.CoastView.com.au
thomas.moore@coastview.com.au
0409681127
the rss feed (OPML).
You can see an example of a site I recently customized :
http://www.jakigoodphotography.com
* The slideshow pulls the images from a specific gallery; all Jaki needs to do is add/change/delete the images in the gallery (easy!)
* The page which shows the slideshow randomly creates the slideshow from a set of specific galleries; this way, the same visitors dont get use to see the same slideshow gallery everytime! Click on the 'Home' link on the nav bar and the slideshow may show you images from the Seniors Portfolio or Wedding Portfolio (more to come....)
* The thumbnails in the banner are also slideshow pro slideshows - again - pulling the images from specific galleries
questions on smugmug and slideshow - please feel free to ask jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
I am having trouble with album thumbs. It apears to have to do with random.mg
I guess the API update now require that the AlbumKey be sent with the random.mg call.
random.mg?AlbumID=XXX&AlbumKey=XXX&Size=XXX">
smugssp is not generating that (&AlbumKey=XXX) in the images.xml file
I found the line in smugssp.class.php that is generating the link but I can't figure out how to get the AlbumKey.
Any help would be great.
If you are using 1.7 or 1.8, you can use the OPML method and simply
do a feed. There are instructions in the slideshow pro pdf about the
OPML file - it is easy to create with smugmug...
let me know if you have any questions - jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
I tried at first to create the opml file:
Then I tried just pluggin the rss feed right into ssp and no luck.
I think ultimately smugssp is the best solution for me. I need to have my slide shows update just based on smugmug activity. Not all our photographers will have access to the web site so when they add a new gallery it need to be reflected in on the web without any access to changing docs on the server.
For future reference I would like to figure out this opml thing though.
Chris
At the very bottom of the class in the interateAlbums function
change:
$xml .= '<album title="'. htmlspecialchars($album) .'" description="'. htmlspecialchars($album) .'" lgPath="" tn="http://www.smugmug.com/photos/random.mg?AlbumID='.$album.'&Size='.$this->config.'">' ."\n";
to:
$xml .= '<album title="'. htmlspecialchars($album) .'" description="'. htmlspecialchars($album) .'" lgPath="" tn="http://www.smugmug.com/photos/random.mg?AlbumID='.$album.'&AlbumKey='.$album.'&Size='.$this->config.'">' ."\n";
You can use the OPML as well:
Try this:
xmlUrl="http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=######&format=rss200&Size=Small"
Of course, replaacing the ###### with your Album ID and Key
ps - new slideshow functionality coming soon !!!
- jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
Jerry,
Would you kindly post a quick tutorial on how to set this up using OPML. From start to finish. I used Smugssp for a awhile but stoped using it when i decided to not renew my host.
Here is an example:
http://www.webdesignsbyjr.com/smugsspjrtest/slideshowhthumb172.html
The 'swf' file is within the smugsspjrtest directory on the server.
The 'fla' file has the following parameters set:
XML FILE PATH : http://www.webdesignsbyjr.com/smugsspjrtest/opml.xml
XML FILE TYPE: OPML
(The opml.xml is located within the smugsspjrtest directory on the server)
The OPML.xml has the following code:
<?xml version="1.0"?>
<opml version="1.1">
<head>
<title>My list of SMUGMUG feeds</title>
</head>
<body>
<outline type="rss" xmlUrl="http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=1060889&format=rss200&Size=Small" />
</body>
</opml>
The gallery: 1060889 is 'public' and has the 'easy share' option on
It uses this feed:
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=1060889&format=rss200&Size=Small
For course, the 'fla' file slideshowhthumb172.fla - you can set the parameters, etc, etc...
So basically, I edit the fla file, create the swf file and upload the 'swf' and 'xml' file to the SAME directory.
Works like a charm
Questions - please ask jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs