Avatar Resizer

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Suggested Hosts
Locked
Sir Glen
Registered User
Posts: 57
Joined: Fri Jun 27, 2008 7:43 pm

Avatar Resizer

Post by Sir Glen » Mon Jun 06, 2011 8:34 pm

I had a mod that did this way back in my first phpBB forum in like 2003 and it worked great. I've been looking for one for phpBB3 for quite a while (every few months I check, for the last few years). I can't afford to pay somebody to create a mod that does this, so I'm throwing out the request here.

Basic functionality would be as follows:
Linked offsite avatars would be shrunk proportionally so that it fits within the avatar size limits. For instance, if you have a 1024x768 image you want to use, and the max width is 185px, then it would automatically be resized and displayed at 185x138 using ImageMagick maybe, or jQuery or something (I'm not really a coder, so I'm not sure what the best option would be).
Images uploaded either from a site or the users computer would similarly be resized and saved in that (correct) size.

If an admin changed the max resolution allowed for avatars then the users would need to re-link/upload their avatars. No need for dynamic resizing in that situation (I imagine it would be too complex).

Basically, no more errors when people try to use avatars that are too big, it simply adjusts as necessary.

Also, there would be no up-scaling of avatars smaller than the max, it would ignore anything which fits by default.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Avatar Resizer

Post by 4_seven » Mon Jun 06, 2011 9:38 pm

my fav
http://www.phpbb.com/community/viewtopi ... #p12966447

[abd], but should work (read entire topic for fixes/infos/etc.)
http://www.phpbb.com/community/viewtopi ... 5#p3818735

note:
all those scripts are made for GD-Lib (not imagemagick), so resized ani-gifs are not animated after resize.
this is a fallback, bcs. on most low-level- or free-provider imagemagick is not installed or off.
Current Mods | Mod Base | php(BB) programming | No help via PM

Sir Glen
Registered User
Posts: 57
Joined: Fri Jun 27, 2008 7:43 pm

Re: Avatar Resizer

Post by Sir Glen » Tue Jun 07, 2011 1:13 am

Hmm, the first doesn't work, the second I haven't tried. I must have done something wrong with the first, I'll look into it.

Regardless, thanks for the links!

User avatar
VOLKERMORD
Registered User
Posts: 111
Joined: Thu Jul 23, 2009 1:20 pm
Location: Dacia (Wolf land)
Contact:

Re: Avatar Resizer

Post by VOLKERMORD » Tue Jun 14, 2011 5:30 pm

Will be nice a new mod for Avatar Resizer ;)
Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo

Locked

Return to “[3.0.x] MOD Requests”