Incorrect image counts - smugmug.albums.get
David PL
Registered Users Posts: 80 Big grins
Hello,
After calling the smugmug.images.changeSettings to move an image to a different album, the image count returned by any subsequent calls to smugmug.albums.get doesn't include the image that was moved.
For example:
- Create new empty Album
- Call smugmug.images.changeSettings&ImageID=[ID]&ImageKey=[Key]&AlbumID=[AlbumIDofEmptyAlbum] to move an image to the empty album
- smugmug.albums.get&Heavy=1 will now return an ImageCount of 0 for the new Album instead of an ImageCount of 1.
Doing some troubleshooting, it seems that the image count will only be updated after you actually visit the album on SmugMug using a web browser.
After calling the smugmug.images.changeSettings to move an image to a different album, the image count returned by any subsequent calls to smugmug.albums.get doesn't include the image that was moved.
For example:
- Create new empty Album
- Call smugmug.images.changeSettings&ImageID=[ID]&ImageKey=[Key]&AlbumID=[AlbumIDofEmptyAlbum] to move an image to the empty album
- smugmug.albums.get&Heavy=1 will now return an ImageCount of 0 for the new Album instead of an ImageCount of 1.
Doing some troubleshooting, it seems that the image count will only be updated after you actually visit the album on SmugMug using a web browser.
0
Comments
bump
Hey David,
It's on my list of stuff to check out
Cheers,
David
SmugMug API Developer
My Photos
Thanks!