Options

1.3.0 smugmug.albums.get - Highlight

jhofkerjhofker Registered Users Posts: 136 Major grins
From what I can tell, when doing a `smugmug.albums.get` and getting `Highlight` back, the `Type` property on it for albums that contain photos is always `Featured` even when you haven't manually set a photo to be featured for that album. I have a video-only album and that seems to come back as `Random`, but that's the only one and it could be luck of the draw.

The issue here is that sending `Featured` back on all of them causes me to do a call to `smugmug.images.getURLs` with a custom size for each album, even though the image it's giving me back is really just a random one from the album.

If I knew which highlights were truly featured, I could cut down on my requests and just generate a random photo url with `http://photos.smugmug.com/photos/random.mg?AlbumID={id}&AlbumKey={key}&Size={size}` instead.

Any tips?

Edit: Looks like I'm little too used to markdown for commenting on code. Sorry for the ticks!
Sign In or Register to comment.