Usage

Displaying Photos

Insert the [ZFP_Photo id='nnnn'] to display a photo from your Zenfolio account. The photo id can be found at the end of the URL displayed in your web browser.

http://www.davidnusbaum.com/individuals/h6913aba#h6913aba

Displaying Galleries and Collections

Insert the code [ZFP_PhotoSet id='nnnn'] to display a Zenfolio gallery or collection. The id can be found at the end of the URL displayed in your web browser.

http://www.davidnusbaum.com/p444438099

Finding Your Photo’s ID

If you have a friendly URL for a gallery or collection you can find the id by going to the edit view.

http://www.zenfolio.com/nusbaum/p444438099/edit

Shortcode Options

size

0 Small thumbnail (up to 80 x 80)
1 Square thumbnail (60 x 60, cropped square)
10 Medium thumbnail (up to 120 x 120)
11 Large thumbnail (up to 200 x 200)
2 Small (up to 400 x 400)
3 Medium (up to 580 x 450)
4 Large (up to 800 x 630)
5 X-Large (up to 1100 x 850)
6 XX-Large (up to 1550 x 960)

padding

This is the amount of padding, in pixels, that is placed around an image in a photo set. The value should be a number with no trailing ‘px’.

action

This is the action that will occur when a view clicks on an image.

’0′ Nothing will happen.
’3′ Open the photo in a lightbox.
’2′ Open the photo in the Zenfolio collection it came from. (only applies to photosets)
’1′ Open the photo in the Zenfolio gallery it came from.

link_target

This defines how a photo will link to a Zenfolio collection or gallery.

‘_self’ The collection or gallery is opened in the same browser window.
‘_blank’ The collection or gallery is opened in a new browser window.

box_size

This defines the size of the photo that will appear in the lightbox. The options are the same as described for the size option.

box_title

The defines the photo title that is included with the lightbox.

‘None’ No title is displayed.
‘Title’ The photo title from Zenfolio is displayed.
‘Caption’ The photo caption from Zenfolio is displayed.

One thought on “Usage

  1. Pingback: More shortcode options | ZenfolioPress

Leave a Reply