Welcome, Guest. Please Login or Register.
November 26, 2024, 10:35:05 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  General Category  |  Feedback  |  External Avatars... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: External Avatars...  (Read 2658 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.068 seconds with 21 queries.