Skip to main content

Filter: gravityview_image_extensions

Filter the image extensions recognized by GravityView.

This is used to determine whether to display the file using <img /> tag or as a link. Also, it is used to determine whether to bypass secure downloads for media files.

Parameters

NameTypeDescription
$image_extsarrayDefault: ['jpg', 'jpeg', 'jpe', 'gif', 'png', 'bmp', 'tif', 'tiff', 'ico', 'webp', 'svg']

Source

Defined in includes/class-gravityview-image.php at line 121