Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto skrinking of avatars?
#11
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.
igitalblackie.com - Done! Smile Ask about our hosting Wink

-Goddess of the of the No More Religion Threads movement Smile
Reply
#12
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
Reply
#13
But but but.... it will already be resized if you add height="80" and width="80" tags to the image tag, won't it?
Reply
#14
Oracle: Yes it will, but the browser will download the whole image, and then shrink it. So you get no speed improvement there.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#15
Aah. Well, perhaps if the image is too big the avatar could be swapped for a "please reduce your avatar size" one Wink
Reply
#16
It says so if you try to upload a too-big picture.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#17
No, for externally linked pictures, they aren't currently checked...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)