Displaying All Albums (🔗)

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, you have to set nick_name='joe-sixpack'.

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 (the password for the Bushveld album is Saffa):

The above uses the shortcode:

[gallery type='smugmug' view='albums' nick_name='sayontan' layout='random']

Filters (🔗)

What if you wanted to display only only a select few album thumbnails, not every album? Enter the filter attribute of the shortcode. Using the filter attribute you can pass a comma-separated list of album keys, and only those will be displayed. You can get the album ids from your dashboard, under Photonic → Helpers → Smugmug. With effect from version 2.00 you will not require the “Helpers” if you use the “Add / Edit Photonic Gallery” button to insert your gallery.

The above is generated using:

[gallery type='smugmug' view='albums' nick_name='sayontan' filter='zCKf5m,csGcG5' layout='random']

You can alternatively show all albums except the ones above, using the filter_type='exclude' parameter:

[gallery type='smugmug' view='albums' nick_name='sayontan' filter='zCKf5m,csGcG5' layout='random' filter_type='exclude']

By default filter_type is set to include.

Protected and Password-Protected Albums (🔗)

Let’s say you have 5 albums and 2 of them are access-protected or password-protected. You have the following options:

  1. Enable authentication on your site (Photonic → Settings → Smugmug → Smugmug Settings → Private Photos). On completion of authentication, a user will see all the protected albums that the user is authorized to see.
  2. You could choose to skip the thumbnails for the password-protected albums altogether (Photonic → Settings → Smugmug → SmugMug Album Thumbnails (with other Albums) → Hide thumbnails for Password-protected albums). Keep the abovementioned option switched on. Then display the photos by using the password attribute in the shortcode. See the photos page for details.
  3. Disable the abovementioned option. In this case, you will see the thumbnails for the password-protected albums. In the previous examples Bushveld is a password-protected album. If you click on it, you are prompted to provide a password. Go ahead and click on Bushveld, then put in Saffa – that will show you the photos in that album.

Password-Protected Sites (🔗)

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']