Documentation

Configuration / rename.extensions

This option enables you to restrict rename to only the matching file extensions.

$moxieManagerConfig['rename.extensions'] = "gif,jpg";
<add key="rename.extensions" value="gif,jpg" />