|
Joined: Jan 2003
Posts: 36
User
|
User
Joined: Jan 2003
Posts: 36 |
hello, i help run a site that runs UBBThreads 6.1 and has 15,000 members that spikes up to 180 online at the same time.
we are having a problem with avatars. specifically, some users are linking to images that are 640x480x16million colors and not using the 80x80 that is suggested.
i have several questions: 1) does threads pull the image down, shrink it to 80x80 and then insert it into the page?
2) does threads cache ANY of the images? if so, how, where and is it a tunable value?
3) is there a way to turn avatars off for some members, but not all? (ie some type of threshhold be it post total or a admin button)
4) is there a method for users to upload their avatars to the server? if so, please point me to the url.
any other suggestions or ideas?
thanks, steve
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
1) .threads doesn't shrink it as filesize and height/width are concerned. You are able to set the maximum display sitze via html attributes in the templates, so...
2) .threads, as an php script can't cache images. it surely can't cache images that rely on other servers. caching files can be done by a apache or derivates...
3) no, you can delete the avatar link from your admin panel --> Edit Users
4) It's an option in your config.inc.php you can define a dir where the avatars are uploaded to. You can set the maximum file size, what makes this the best (and only) way to limit the filesize and imagesize of avatars.
You may even want to edit your editprofile.tmpl to remove the textbox where users can type in the url to their avatar.
|
|
|
|
Joined: Jan 2003
Posts: 36
User
|
User
Joined: Jan 2003
Posts: 36 |
[]1) .threads doesn't shrink it as filesize and height/width are concerned. You are able to set the maximum display sitze via html attributes in the templates, so... [/]
but this doesn't answer the question.
first you say it doesn't adjust, but then you tell how to change the size. which means it HAS to adjust. this then also implies that the file IS pulled onto the threads server before it put onto a page and sent to a user.
so which is it, does it pull down any size image file that it is pointed to, adjust it to what it is set and re-send it out or not?
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
It doesn't grab the image and resize it physically. It displayes the remotely hosted image with incorrect width/height attributes in the <img> tag. I hope that's more clearer.
|
|
|
|
Joined: Jan 2003
Posts: 36
User
|
User
Joined: Jan 2003
Posts: 36 |
dave, so does the avatar image go through the server at all then?
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
If the images is located on a different server it does not go through your server.
|
|
|
|
Joined: Jan 2003
Posts: 36
User
|
User
Joined: Jan 2003
Posts: 36 |
just wanted to say thanks for the info.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|