List of albums along with featured thumbnail
albin
Registered Users Posts: 2 Beginner grinner
Hi.
I'm completely new to the SmugMug API. Please excuse me if there's something obvious I overlooked.
I'm trying to fetch a list of all my albums along with their category and an url to the thumbnail of the featured image in the album. I'm using the phpSmug wrapper if it makes a difference.
smugmug.albums.get (with heavy) seems to do the trick - almost. It returns the list of albums, categories along with highlight (which seems to mean featured). Only problem is it only return the ImageKey and not the ImageId of the featured image. The ImageId is required along with ImageKey for smugmug.images.getURLs.
Is there a simple way to get the ImageId corresponding to an ImageKey? Or, is it possible to get the thumb-url from just the ImageKey?
Any help apreciated!
Albin Holmgren
I'm completely new to the SmugMug API. Please excuse me if there's something obvious I overlooked.
I'm trying to fetch a list of all my albums along with their category and an url to the thumbnail of the featured image in the album. I'm using the phpSmug wrapper if it makes a difference.
smugmug.albums.get (with heavy) seems to do the trick - almost. It returns the list of albums, categories along with highlight (which seems to mean featured). Only problem is it only return the ImageKey and not the ImageId of the featured image. The ImageId is required along with ImageKey for smugmug.images.getURLs.
Is there a simple way to get the ImageId corresponding to an ImageKey? Or, is it possible to get the thumb-url from just the ImageKey?
Any help apreciated!
Albin Holmgren
0
Comments
Which version of phpSmug are you currently using ? And which api version ?
Cheers,
David
SmugMug API Developer
My Photos
SmugMug API Developer
My Photos
Albin