Typo.
Check if overrideMimeType is actually available.
fgallery 1.7 release notes and docs