Previous Thread
Next Thread
Print Thread
Rate Thread
#233251 01/14/2003 9:05 AM
Joined: Jan 2003
Posts: 36
User
User
Offline
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

Sponsored Links
Lerosia #233252 01/14/2003 1:08 PM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
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.

-Fusion- #233253 01/14/2003 1:35 PM
Joined: Jan 2003
Posts: 36
User
User
Offline
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?

Lerosia #233254 01/14/2003 1:52 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
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.

sjsaunders #233255 01/14/2003 3:06 PM
Joined: Jan 2003
Posts: 36
User
User
Offline
Joined: Jan 2003
Posts: 36
dave,
so does the avatar image go through the server at all then?

Sponsored Links
Lerosia #233256 01/14/2003 3:19 PM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
If the images is located on a different server it does not go through your server.

-Fusion- #233257 01/15/2003 10:50 AM
Joined: Jan 2003
Posts: 36
User
User
Offline
Joined: Jan 2003
Posts: 36
just wanted to say thanks for the info.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)