 |
 |
 |
 |
Registered: 06/02/04
Posts: 195
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
#180012 - 03/04/07 08:14 PM
Avatars and You - Sizing and the UBB.
|
|
Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
|
|
This post was written by me to provide more information to users on how avatars are presented and handled in UBB.Threads7 (since questions about effects of avatars pop up again and again, I'm hoping something definitive will help users with the answers they want to hear, and ways to get what they want done); I am not writing this all out to complain in anyway. However, at the end of this post I am also including several proposals on future ways that I could see avatar handling improved. To some users migrating to the UBB from other products (or by trying to just "drop in place" new avatars) you'll sometimes notice that your avatars can come out looking skewed. There are a few things to keep in mind when this happens. When you upload avatars via the control panel, a height and width is set via the internal workings of the system. When you try to just drop them in your avatars directory, the height and width isn't automatically set via the system as the avatar isn't run through the routines in the control panel. When avatars don't have dimensions associated with them they default to the dimensions that you input as "maximum height and width" in the profile settings for allowing users to upload avatars. The problem with this is that not all avatars are the same height and width, and forcing them to resize can be a pain. If you leave the maximum dimensions blank it will allow the avatars to show "as they are" when loading (no size is set for height or width), however IE7 will see "height='' width=''" and load it as 0px X 0px which will leave you with a 1px dot... The only "real" way to fix this (at the time of this writing) is to upload all avatars through the built in systems in the UBB one by one; this will set the height and width of the avatars as they're uploaded. The downside to this is that there is no "mass update", so if you have a lot of avatars, you'll be bored to tears with adding them. It is my sincere hope that, in time, Rick will make it so that when there is no height and width associated with an avatar that it'll suppress loading the height and width attribute altogether so that no skewing occurs; I'd also like to see a way to set the height and width of avatars on the edit screen (possibly by clicking on the avatar itself and having an "edit avatar" screen pop up and have the ubb check the size of the image as its loaded if none is set, and allow users to set the height and width as that avatar is loaded; or enter their own height and width to where they want it). Cross posted at UBBDev: Clicky ClickyRelated Modifications: Fix the Avatars is a modification which removes the size restraints of avitars, which was the UBB.C way of doing things.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#180152 - 03/06/07 10:22 AM
Re: Avatars and You - Sizing and the UBB.
[Re: ADWOFF]
|
Carpal Tunnel
|
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
|
|
777 correct  Ive done some digging and checks you can make  Control Panel 1. Permissions Check (Under Tools) images/avatars/default ( OK) 2. General - Topic Display Options - Show Users Avatars? Hopefully that's ticked? 3. Profile Settings. a) Avatar Upload Storage Directory: Should have the full path. /home/mydomain/html_public/avatars/ (Your path will be diffrent) Note: mine starts and ends with a "/" forward slash b) Full URL to Avatar Upload Storage Directory: contains the http://www.mysite.com/avatars ( Note: mine does not end with a forward slash) c) Maximum file size of uploaded avatars: i have 40000 nice round number. d) Maximum Avatar Width: (Pixels) 100 e) Maximum Avatar Height: (Pixels) 67 ---------------------- There pretty much my settings and work. If your worried about squewy avatars there are some tricks? Like my avatar, its alot wider than you can see, i have it transparent but 2 tiny single dots at the top right and bottom right courner, so it looks normal and not streched. My image is a giff which can be set to transparent. Hope that helps 
_________________________
Version v7.5.6 < Threads satisfaction status People who inspire me Rick Gizmo Ian David jgeoff ntdoc Oooo i hear 8 is coming? just after 7 my friend.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#180155 - 03/06/07 10:48 AM
Re: Avatars and You - Sizing and the UBB.
[Re: Mark S]
|
member
|
Registered: 06/06/06
Posts: 179
|
|
Mark~
Thanks. With your help, I was able to upload an avatar.
Unfortunately, *that* process did not allow IE to determine the size of the avatar.
When I put in max sizes, it skews everything. Unfortunately, I have a lot of avatars different sizes.
If I take the sizes out, IE will not display the avatars. If I put anything in, ALL the avatars will be skewed to that size.
Seems wonky to me ... since with Classic, this issue never came up. (Sorry, I know it sounds like I'm whining).
Isn't there some way to fix this issue (with a mod/a patch, SOMETHING!) so that either IE will recognize the size of the avatars OR the board will automatically recognize the size of the avatars OR will ONLY default to the max size IF no size is recognizable?
---
FWIW, I reuploaded a couple of my smilies that were skewed from before--because I just kind of plopped them into the folder ... and THAT worked in "fixing" the skewed size problem.
I was hopeful that if I uploaded the avatar, it would do the same thing for me ... but, no dice.
---
~Sue <<-- wondering if she's asking for the impossible
ETA: in looking at the avatars on this page, I'm seeing a number of them differing sizes--Gizzy's is 80 X 80; Mark's is 80 X 67; mine is 40 X 32. I know that I uploaded mine via the profile page ... so I must be still doing something wrong *sigh*
Edited by ADWOFF (03/06/07 10:56 AM) Edit Reason: add comments about avatars here
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|