No GIF Avatar by AddonsLab

No GIF Avatar by AddonsLab 1.1.0

No permission to download

AddonsLab

Well-known member
AddonsLab submitted a new resource:

No GIF Avatar by AddonsLab - Disallow the users to upload GIF avatars

This is a small add-on that simply disallows GIF avatars on your board.

The add-on does not check and disable already existing avatars, but only the new ones.

The error message shown when a user uploads an avatar can be customized using phrase alnga_please_no_gif_avatar

The add-on is created as funded project by @Okuma Steve

Bug-fix support will be provided here, via Discussion thread.

Thank you!

Read more about this resource...
 
This addon would be amazing if you added a permission node for allowing the upload of gif avatars - at the moment it makes more sense to just disable imagemagick (imo).
 
This addon would be amazing if you added a permission node for allowing the upload of gif avatars - at the moment it makes more sense to just disable imagemagick (imo).

Do you mean a usergroup permission to allow uploading of gif avatars? If so, we will implement it when we get a free moment.

Thank you!
 
Does the permission check for animated avatars or any avatar filename with the gif extension? Because it's possible to have a static gif extension image as avatar.
 
Does the permission check for animated avatars or any avatar filename with the gif extension? Because it's possible to have a static gif extension image as avatar.

It checks for image type as reported by http://php.net/manual/en/function.getimagesize.php so it disallows only images of type IMAGETYPE_GIF and does not use the file extension for that. It does not check if the GIF image actually has several frames or no so GIF images that are actually static (with one frame only) will still be rejected.
 
Top Bottom