homepage Welcome to WebmasterWorld Guest from 54.227.77.237
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
Forum Library, Charter, Moderators: rogerd

Community Building and User Generated Content Forum

    
Restricting avatar size
Offsite images in phpBB
buksida




msg:3154830
 6:07 am on Nov 13, 2006 (gmt 0)

Is there a way in phpBB (or a mod) to restrict the size of linked avatars? We don't want to host them ourself but whenever I enable them people link to huge images that mess up the board.

I know you can do it in php.ini but we're on a shared host who wont let me near that.

 

buksida




msg:3155920
 6:28 am on Nov 14, 2006 (gmt 0)

In answer to my own question if anyone else needs the same thing I found a mod on phpBB that uses javascript to resize remote avatars:

[phpbb.com...]

AjiNIMC




msg:3158663
 4:00 pm on Nov 16, 2006 (gmt 0)

In admin panel you can specify the allowed dimensions. I have few suggestions here.

Do not allow external images only allow internal images.

1) Image space consumption is very cheap
----------------------------------------
Lets say you have 10000 members each with 100 kb avatar. So you have 1000,000 and thats make it just 1000 mb or 1 gb which is very cheap to get when you have a 10,000 members (even your adsense will be able to earn more than that).

2) Performace increase
----------------------
Internal images will enhance the forum performance and it is the most imp factor for forums.

The above two points tells me to have only avatar galley and internal image facility.

Thanks,
AjiNIMC

jtara




msg:3159163
 10:38 pm on Nov 16, 2006 (gmt 0)

Personally, I would restrict avatars, period.

With a noose, if necessary.

buksida




msg:3159492
 5:36 am on Nov 17, 2006 (gmt 0)

I will only allow external images for the simple reason that it will not chew our bandwidth, disk space is not an issue, bandwidth is.

We are not running adsense on the forum as it performs very badly on forums.

I didn't want avatars period but the community insisted.

AjiNIMC




msg:3159564
 7:37 am on Nov 17, 2006 (gmt 0)

I will only allow external images for the simple reason that it will not chew our bandwidth, disk space is not an issue, bandwidth is.

Performance Vs Bandwidth - Bandwidth is much cheaper than performance in my opinion.

I didn't want avatars period but the community insisted.

Do you mean disabling avatar for initial x post or x days? I have never tried it. How does this help?

Regards,
AjiNIMC

rogerd




msg:3162051
 3:11 am on Nov 20, 2006 (gmt 0)

It seems like allowing external images is kind of risky - someone could change an avatar to an adult image, spam ads, etc. at any time.

One thing that some sites do is stick image hosting on a second domain with its own bandwidth allocation. This keeps bandwidth down for the primary domain.

rogerd




msg:3164221
 9:24 pm on Nov 21, 2006 (gmt 0)

If necessary, you could also specify a single avatar size and hard-code those dimensions into the template. Anyone who linked to an avatar of another size would have it displayed at your dimensions. Certainly, setting a max value in the control panel would be more convenient and elegant.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved