Properties
optional public ajaxcallback?: () => void
optional public allow_expand?: boolean
Allow the user to expand a resized image. true/false
optional public allow_resize?: boolean
Resize the photos bigger than viewport. true/false
optional public animation_speed?: string
fast/slow/normal
optional public autoplay?: boolean
Automatically start videos: True/False
optional public autoplay_slideshow?: boolean
true/false
optional public callback?: () => void
Called when prettyPhoto is closed
optional public changepicturecallback?: () => void
Called everytime an item is shown/changed
optional public counter_separator_label?: string
The separator for the gallery counter 1 "of" 2
optional public custom_markup?: string
optional public deeplinking?: boolean
Allow prettyPhoto to update the url to enable deeplinking.
optional public default_height?: number
Pixels
optional public default_width?: number
Pixels
optional public flash_markup?: string
Markup for flash
optional public gallery_markup?: string
Markup for pretty photo gallery
optional public hideflash?: boolean
Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto
optional public hook?: string
the attribute tag to use for prettyPhoto hooks. For HTML5, use "data-rel" or similar.
optional public horizontal_padding?: number
The padding on each side of the picture
optional public ie6_fallback?: boolean
optional public iframe_markup?: string
Markup for iframe
optional public image_markup?: string
Markup for image
optional public inline_markup?: string
optional public keyboard_shortcuts?: boolean
Set to false if you open forms inside prettyPhoto
optional public markup?: string
Markup for pretty photo
optional public modal?: boolean
If set to true, only the close button will close the window
optional public opacity?: number
Value between 0 and 1
optional public overlay_gallery?: boolean
If set to true, a gallery will overlay the fullscreen image on mouse over
optional public overlay_gallery_max?: number
Maximum number of pictures in the overlay gallery
optional public quicktime_markup?: string
Markup for quicktime
optional public show_title?: boolean
true/false
optional public slideshow?: any
false OR interval time in ms
optional public social_tools?: any
Markup for social tools, set to html or false to disable
optional public theme?: string
light_rounded / dark_rounded / light_square / dark_square / facebook
optional public wmode?: string
Set the flash wmode attribute