Home »
FUDforum »
How To »
Avatar dimentions
Avatar dimentions [message #9276] |
Wed, 19 March 2003 21:47 |
Victor_M
Messages: 51 Registered: January 2003 Location: NJ, USA
Karma: 0
|
Member |
|
|
Version: 2.3.6
When a member tries to upload an avatar the logic to allow only file sizes under a certain size is working fine but the logic to prevent avatars over a certain dimentions is not working (or I'm not setting it up correctly). No matter what the dimentions of the image the avatar is accepted.
I'm trying to limit avatars to "150x200".
[Updated on: Wed, 19 March 2003 21:47] Report message to a moderator
|
|
|
Re: Avatar dimentions [message #9312 is a reply to message #9276] |
Mon, 24 March 2003 14:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Which PHP version are you using? You may want to consider to upgrade to a latter version of the forum.
Forum uses php's getimagesize() function to get the image sizes for the avatars, I'll verify the code but it should work fine.
FUDforum Core Developer
|
|
|
Goto Forum:
Current Time: Sat Nov 23 01:53:07 GMT 2024
Total time taken to generate the page: 0.02644 seconds