Welcome, Guest. Please Login or Register.
May 09, 2024, 02:48:38 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  General Category  |  Feedback  |  External Avatars... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: External Avatars...  (Read 2575 times)
Michael
YaBB God
*****
Posts: 782


Recursion \Re*cur"sion\, n. - See recursion.

ICQ - 47769041mrtorrent@hotmail.com WWW
External Avatars...
« on: December 31, 2001, 06:42:29 PM »
Reply with quote

Couldn't the resizing of external avatars be prevented by using the GetImageSize function to check whether the image is smaller than the limit the administrator has set? If it is within limits, it could be allowed to go unresized, if above the maximum, it could be sized down to a percentage of the original or to a pixel size, like 65x65...

Will this be too much of a pain in the ass due to the code being ported from YaBB? It seems to me it shouldn't be, but I haven't looked at all at the code for YaBB SE yet. I'll dive in soon. ;) I suppose the place that might cause trouble is trapping for errors if the requested image doesn't exist. I dunno tho, you tell me. :P
Logged

~ Michael ~
--------------
The MikeCam
I went to the Net and all I got was this stupid tagline.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  External Avatars... « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.230 seconds with 20 queries.