All albums for a user can be displayed using this invocation:
[gallery type='smugmug' view='albums' nick_name='nick-name']
Note that you need the nickname of the user whose photos you want to see. The nickname can be got from the SmugMug URL for that user. E.g. If the SmugMug URL is http://joe-sixpack.smugmug.com, you have to set
Additionally you can specify a
columns to control how many thumbnails appear in each row.
You can see the results here, which list out Sayontan Sinha’s albums in a random layout:
Here is another set, listing out Sayontan Sinha’s albums:
The above uses the shortcode:
[gallery type='smugmug' view='albums' nick_name='sayontan']
SmugMug’s API is very picky about what it lets you show on your site. Even if a folder is not protected, it sometimes prevents you from launching a slideshow, which typically happens if you have protected an album, then unprotected it. E.g. in the above the “Fauna” album was originally protected, then unprotected. This caused issues in viewing the contents of the album when clicked. The culprit was one of SmugMug’s settings for the album, “External links” (“Allow easy display of your photos elsewhere?”). This needs to be set to “Yes” for the photos to be visible.
Password-protected albums from Smugmug can be displayed by using the
password attribute in the shortcode. See the photos page for details.
On a note similar to the above, if your entire Smugmug site is password-protected, you can
site_password attribute to the shortcode, and it will display your content. So, something like this will work:
[gallery type='smugmug' view='albums' nick_name='sayontan' site_password='abcd1234']