maxgalleria_masonry_image_width

Description

This filter returns the width of the masonry image for the gallery when displayed with the masonry template.

Usage

add_filter('maxgalleria_masonry_image_width', 'masonry_image_width', 10, 1);

Parameters

$width
The width of the masonry image (default: 960).

Example

add_filter('maxgalleria_masonry_image_width', 'masonry_image_width', 10, 1);

function masonry_image_width($width) {
}

Source Files

Defined in maxgalleria-masonry-hooks.php.

Used in maxgalleria-masonry-template.php.