Qbasicnews.com

Full Version: Auto skrinking of avatars?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Quote:
Lachie Dazdarian Wrote: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.
Quote: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. Smile
But but but.... it will already be resized if you add height="80" and width="80" tags to the image tag, won't it?
Oracle: Yes it will, but the browser will download the whole image, and then shrink it. So you get no speed improvement there.
Aah. Well, perhaps if the image is too big the avatar could be swapped for a "please reduce your avatar size" one Wink
It says so if you try to upload a too-big picture.
No, for externally linked pictures, they aren't currently checked...
Pages: 1 2