Limiting Avatar File Size (Kb)?
3 posters
Page 1 of 1
Limiting Avatar File Size (Kb)?
Our CSS Stylesheet is set to automatically resize avatar pics to 80 x 80. The avatar image pixel size is not the issue here.
Some of our users like to load animated avatar pics. They are resized without problems. However, these animation pics still require substantial FILE SIZE (Mb) and that slows the browsing experience for some other users.
In some cases, some people have repeatedly linked 2 Gb avatar files.
Is there a means by which we can prevent an avatar pic from loading if:
(a) the file size is larger than X Kb? (50 Kb) AND/OR
(b) is an animation file (*.gif)?
Our forum is running on "Invision".
Thanks in advance for your help.
Cheers, PK.
Some of our users like to load animated avatar pics. They are resized without problems. However, these animation pics still require substantial FILE SIZE (Mb) and that slows the browsing experience for some other users.
In some cases, some people have repeatedly linked 2 Gb avatar files.
Is there a means by which we can prevent an avatar pic from loading if:
(a) the file size is larger than X Kb? (50 Kb) AND/OR
(b) is an animation file (*.gif)?
Our forum is running on "Invision".
Thanks in advance for your help.
Cheers, PK.
Re: Limiting Avatar File Size (Kb)?
Hi
AP < Display < Avatars Management < Personal Avatars
By putting a smaller number, it should stop the user from uploading them.
Regards,
Pizza Boi
AP < Display < Avatars Management < Personal Avatars
By putting a smaller number, it should stop the user from uploading them.
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: Limiting Avatar File Size (Kb)?
Thanks for the reply.Pizza Boi wrote:Hi
AP < Display < Avatars Management < Personal Avatars
By putting a smaller number, it should stop the user from uploading them.
Regards,
Pizza Boi
Unfortunately there's no option there to limit the file Kb size, and the only option is the maximum pixel dimensions (e.g. 80 x 80) - we already have both that and our CSS stylesheet set for 80x80.
For the moment I'm just having to ask users who link to off-site avatars to be responsible and then manually check their animated avatar Kb file size.
Then if they keep linking multi-Gb animations I can go into admin and disable their ability to display any personalized avatar (a last resort).
Re: Limiting Avatar File Size (Kb)?
Hello,
We don't have option to limit the file size to upload for now. Sorry.
I'm not sure if it can be achieved by JS coding. (I believe it can only be done by PHP)
We don't have option to limit the file size to upload for now. Sorry.
I'm not sure if it can be achieved by JS coding. (I believe it can only be done by PHP)
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Re: Limiting Avatar File Size (Kb)?
Hi
Unfortunately, PHP coding isn't advisable nor is it allowed in Forumotion for security purposes if you want to ask how .
Regards,
Pizza Boi
Unfortunately, PHP coding isn't advisable nor is it allowed in Forumotion for security purposes if you want to ask how .
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: Limiting Avatar File Size (Kb)?
Thanks Jophy & Pizza Boi - I appreciate your answers - it's good to know so I can stop looking for a solution.
My manual workaround solution should do fine.
Cheers, PK.
My manual workaround solution should do fine.
Cheers, PK.
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» Avatar file size
» Avatar File Size Issue
» Increasing avatar file size
» Limiting Signature Size
» code for limiting Signature size
» Avatar File Size Issue
» Increasing avatar file size
» Limiting Signature Size
» code for limiting Signature size
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum