5637 anibal 1

Actually, I would prefer a function in main_api.lib.php: function getSupportedImageExtensions() { return array(...); }