![]() |
Geek Auto Avatar Resizer
Basically this is a very simple addition to stop the mega computer literate who use my forums driving everyone insane with their 'I tried to upload my pic as an avatar but its too big - how do I resize it'.
In a nutshell, this will automatically resize the uploaded avatar (and profile picture) to your max dimensions (if it is too big). It must still be smaller than the Custom Avatar Maximum File Size (bytes) / Profile Picture Maximum File Size (bytes) setting. In fact - it wont even get uploaded if the pic exceeds this size. Therefore I would suggest raising this limit to an appropriate amount. There is 1 file edit (1 line) and 1 include file. (Im going to get pissed if someone says there is already a hack for this ;) ) change log ----------- Update to BETA 1.02 on 18/03/05 Added GD test Fixed dumb typo that caused image dimensions to not be retrieved. nJoy |
Wooohahaha.... There is a hack for this.
Mini did it. It not only does avaies... but the profile picture as well. been using it for about 4-5 months now. Now I dont think its on the fly or anything like that. its a lengthy install (compared to what you said your install is) and I dont know how good yours is. But his does work |
ah poo. O well. hmmm. This may do profile pics too... ill have to look into it (the function its in looks like it handles all image uploads).
|
Whelp - for love nor money can I find the modification your talking about. Regardless - here is this one for your dining pleasure.
BTW: It does Profile Pictures too. |
Problem : it seems to resize images which are smaller ie enlarge and distort
|
|
Thanks for the link.
Looks like it is about the same kind of thing - but handled a bit differently. No phrase installs or anything like that. Its a one line modification. I guess ill keep it as its done now. PS - small images resizing is fixed now. |
thanks for sharing!
|
if a GD library is required i would state it;)
|
Updated package to test for GD support (it checks you vB options). If none is present then it skips the proceedure (the proceedure uses the GD library which is pretty standard stuff).
|
All times are GMT. The time now is 08:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|