Methods

__construct()

__construct()

tiles_enabled()

tiles_enabled()

set_atts()

set_atts( $atts)

Parameters

$atts

get_attachments()

get_attachments()

get_attachment_link()

get_attachment_link( $attachment_id,  $orig_file)

Parameters

$attachment_id
$orig_file

default_scripts_and_styles()

default_scripts_and_styles()

gallery_shortcode()

gallery_shortcode( $val,  $atts)

Parameters

$val
$atts

rectangular_talavera()

rectangular_talavera( $attachments)

Parameters

$attachments

square_talavera()

square_talavera( $attachments)

Parameters

$attachments

circle_talavera()

circle_talavera( $attachments)

Parameters

$attachments

rectangle_talavera()

rectangle_talavera( $attachments)

Parameters

$attachments

generate_carousel_container()

generate_carousel_container()

generate_carousel_image_args()

generate_carousel_image_args( $image)

Parameters

$image

gallery_classes()

gallery_classes()

gallery_already_redefined()

gallery_already_redefined()

init()

init()

get_content_width()

get_content_width()

jetpack_gallery_types()

jetpack_gallery_types( $types)

Media UI integration

Parameters

$types

jetpack_default_gallery_type()

jetpack_default_gallery_type( $default)

Parameters

$default

settings_api_init()

settings_api_init()

Add a checkbox field to the Carousel section in Settings > Media for setting tiled galleries as the default.

setting_html()

setting_html()