I can see the 56k users squirm now...Janzki wrote:Let's all use our latest AMVs as our avatars!bum wrote:Half a meg? For an avatar?!?!?!?!? sweet jesus.AbsoluteDestiny wrote:BMA your avatar is WAY too big... it's like HALF A MEG!!!
Please either reduce it to less than 80k or remove it.
How do I get an avatar? [SPLIT]
- Malificus
- Dr. Malpractice
- Joined: Sat Aug 03, 2002 2:55 pm
- Location: St. Paul, Minnesota
- Contact:
- Gemberkoekje
- Joined: Wed Jan 05, 2005 11:42 pm
-
trythil
- is
- Joined: Tue Jul 23, 2002 5:54 am
- Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
- Location: N????????????????
It's harder than you think. I actually tried to do this a while back and wasn't met with happy super fun results.Gemberkoekje wrote:Can't you put a size-constraint on external links? Can't be that hard to do PHP-programmaticaly i think... although im bad at PHPBB forums *too much code hahaha :P*
The built-in gd library can only work on images that are local -- this might have changed in _very_ recent versions of PHP, but I don't think the .org is running the PHP bleeding edge.
One way to do it is to just issue an HTTP GET request to a site every time an avatar is changed, intercept the headers, and check the Content-Length field. There's a big problem with that, though: Manual socket code to check one stupid thing. It's unnecessary complexity.
- Gemberkoekje
- Joined: Wed Jan 05, 2005 11:42 pm
- Sivis
- Joined: Sat May 01, 2004 8:50 pm
- Location: Tampere, Finland
- Contact:
getimagesize() function should work with remote images too (since php 4.0.5) and it doesn't even require the gd librarytrythil wrote:It's harder than you think. I actually tried to do this a while back and wasn't met with happy super fun results.
The built-in gd library can only work on images that are local -- this might have changed in _very_ recent versions of PHP, but I don't think the .org is running the PHP bleeding edge.
- Sivis
- Joined: Sat May 01, 2004 8:50 pm
- Location: Tampere, Finland
- Contact:
