Qbasicnews.com
November 20, 2019, 11:16:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Auto skrinking of avatars?  (Read 5193 times)
Lachie Dazdarian
I hold this place together
*****
Posts: 955



WWW
« on: November 18, 2003, 05:58:58 AM »

Some PHP forums automaticly shrink user's avatar no matter what size it is. I think that's a great feature which allows me to use various niffty images as my avatars in forums such as HOTU( http://www.the-underdogs.org/forum/index.php ).

For example:

http://www.samods.com/~lachie/DEANCRY6.gif
Logged
Rhiannon
Been there, done that
*****
Posts: 1031



WWW
« Reply #1 on: November 18, 2003, 11:03:50 AM »

So.....what's the issue? Smiley
Logged

igitalblackie.com - Done! Smiley Ask about our hosting Wink

-Goddess of the of the No More Religion Threads movement Smiley
RST
Wandering Guru
***
Posts: 326



« Reply #2 on: November 18, 2003, 10:56:47 PM »

This issue is he likes it, thereby implying he would like to see it here (or is it here already?). Personally, I don't think there's any need because no one here has those huge annoying avatars....
Logged
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #3 on: November 19, 2003, 01:59:10 AM »

Those "huge, annoying avatars" are against the rules anyway Smiley

Actually, AFAIK there's been so much complaint about having that not standard in phpBB 2.0.X that it's gonna be added to 2.2 Smiley
Logged

Neo
Na_th_an
*****
Posts: 2150



« Reply #4 on: November 19, 2003, 11:13:09 AM »

Quote from: "oracle"
Those "huge, annoying avatars" are against the rules anyway Smiley

IMHO I agree with the rules of avatars not bigger than, what was it?, 15 kB. Smiley
Logged
TheBigBasicQ
*/-\*
*****
Posts: 4550



WWW
« Reply #5 on: November 19, 2003, 11:32:03 AM »

Ok, autoshrinking may be good but it should shrink in proportion and not make a mess of it while doing so.
Logged
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #6 on: November 19, 2003, 09:31:46 PM »

On the contrary, it should make a mess of it so the user is forced to obey the rules Tongue

And it's 15K  Neo Smiley

(thx SCM)
Logged

Neo
Na_th_an
*****
Posts: 2150



« Reply #7 on: November 20, 2003, 08:37:05 AM »

Quote from: "oracle"
And it's 15K  Neo Smiley

Oops... Corrected it Wink

Quote from: "oracle"
On the contrary, it should make a mess of it so the user is forced to obey the rules Tongue

If you think that... wouldn't it be much better just to make a routine that prints out a random crap picture instead of the avatar? :lol:
Logged
Lachie Dazdarian
I hold this place together
*****
Posts: 955



WWW
« Reply #8 on: November 20, 2003, 08:57:28 AM »

I'm sure this forum could be modifyied on that way so that user can pick if he wants to use an avatar under 80*80 or a bigger one shrinked to size preset by the admin.
Logged
Neo
Na_th_an
*****
Posts: 2150



« Reply #9 on: November 20, 2003, 09:08:42 AM »

Quote from: "Lachie Dazdarian"
I'm sure this forum could be modifyied on that way so that user can pick if he wants to use an avatar under 80*80 or a bigger one shrinked to size preset by the admin.

There are some problems with that. See further points.
1. Big avatars require a lot of space
2. Have you thought about telephone modem (28/56k) users?
3. If the routine that shrank the avatars would be client-sided, there'd be much more code to download and to process, thereby slowing down the page downlad.
4. If the routine that shrank the avatars would be server-sided, the server would have to be a powerful computer to deal with many of that routine calls.
Logged
Rhiannon
Been there, done that
*****
Posts: 1031



WWW
« Reply #10 on: November 20, 2003, 11:06:28 AM »

Quote from: "Neo"
Quote from: "Lachie Dazdarian"
I'm sure this forum could be modifyied on that way so that user can pick if he wants to use an avatar under 80*80 or a bigger one shrinked to size preset by the admin.

There are some problems with that. See further points.
1. Big avatars require a lot of space
2. Have you thought about telephone modem (28/56k) users?
3. If the routine that shrank the avatars would be client-sided, there'd be much more code to download and to process, thereby slowing down the page downlad.
4. If the routine that shrank the avatars would be server-sided, the server would have to be a powerful computer to deal with many of that routine calls.


1) Unless the avatar is flash, it's not going to be a very large size, and if the size limit here is 80x80, what's the prob?
2) I'm a 56ker and i dont see the problem with avatars or sigs. It's not that slow.
3) How is the routine client-side? It's on the server.
4) You can use a resizing script on a Pentium 233. And once the pic is uploaded and shrunk by the avatar resizing routine, the resized avatar is stored on the server, hence it will always download as a 80x80 max pic.
Logged

igitalblackie.com - Done! Smiley Ask about our hosting Wink

-Goddess of the of the No More Religion Threads movement Smiley
Neo
Na_th_an
*****
Posts: 2150



« Reply #11 on: November 20, 2003, 11:27:34 AM »

Quote from: "Rhiannon"
1) Unless the avatar is flash, it's not going to be a very large size, and if the size limit here is 80x80, what's the prob?
2) I'm a 56ker and i dont see the problem with avatars or sigs. It's not that slow.
3) How is the routine client-side? It's on the server.
4) You can use a resizing script on a Pentium 233. And once the pic is uploaded and shrunk by the avatar resizing routine, the resized avatar is stored on the server, hence it will always download as a 80x80 max pic.

Oh, I took Lachie's proposition as dynamic, but indeed, as you told, it can also be done static yes. I forgot about that, sry. Smiley
Logged
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #12 on: November 20, 2003, 04:59:22 PM »

But but but.... it will already be resized if you add height="80" and width="80" tags to the image tag, won't it?
Logged

Zap
Been there, done that
*****
Posts: 1124


« Reply #13 on: November 20, 2003, 05:30:39 PM »

Oracle: Yes it will, but the browser will download the whole image, and then shrink it. So you get no speed improvement there.
Logged

url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #14 on: November 20, 2003, 05:38:07 PM »

Aah. Well, perhaps if the image is too big the avatar could be swapped for a "please reduce your avatar size" one Wink
Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!