Avatar Idea - Comment?

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/60062?pagenum=1
05 November 2025, 02:12

Topic


Zuel
Avatar Idea - Comment?
02 November 2005, 22:11


Alot of members have been asking if they can use a larger image like 96 by 96. But on the other hand other users have images that are 64 by 64. With the current avatar mods there doesn't seem anything that allows images of different sizes to co-exist.
I plan to use something that will fix that problem. Instead of using images to show images, I plan to make it a background image with an inline style.
Features:

(1)If user does not have an avatar assigned, it simply replaces it with a transparent image showing the background color of your snitz forum.
(2)Any type of image under 96 by 96 can be used. If it is small it will appear in the middle of the table. If the image is too big, it will show, but will get cut off accordingly. That should be enough to tell the user to select a new avatar.
(3)In line style is compatible with all broswers.
(4)Will be included in my add on bigsmile
Good or bad idea? Discuss.<

 

Replies ...


MarcelG
03 November 2005, 03:49


Well, had the same challenge, but I 'solved' it in a different way. I simply removed the fixed dimensions (in topic.asp) and approve/reject avatars upon upload.
I've inserted a blank avatar, called noavatar.gif, and use this code to replace a non-assigned avatar :
Code:
if Member_Avatar <> strImageURL & "noavatar.gif" or Member_Avatar <> "" then
Response.Write "<img src=""" & STRFORUMURL & Member_Avatar & """ border=""" & intAvatarBorder & """>"
end if
<
Zuel
03 November 2005, 07:59


I simply removed the fixed dimensions (in topic.asp) and approve/reject avatars upon upload.

Did you remove both fixed demensions and approve/reject avatars upon upload? Or just fixed demensions?
And how are you making sure the image isn't 1000 by 500?
As for the approving and rejecting, I'm trying to keep the Admins and Mods out of the loop in a way where they still moderate avatars without having to go into the admin panel.<
MarcelG
03 November 2005, 08:15


Sorry, I now see my sentence wasn't making sense wink I removed the fixed dimensions, and added approval/rejection for the uploaded avatars. If a user uploads an avatar that's too big (in both filesize as well as dimensions), the avatar is rejected. This can be done only by administrators at this moment. I'm not really sure which avatar Mod I'm using at oxle ; I manually took it from the CrashCode script, and added it to the base install. If you want you can rip some of my code wink<
Zuel
03 November 2005, 08:39


Ah I see. After spending a few minutes playing with the flash header, I went to the forums and saw your forum basically does the same thing I'm doing.
I don't need the code but I'm sure someone will.
Thanks for the feedback! I'll put a demo up soon, I took my other test forum down sad<
MarcelG
03 November 2005, 09:13


Originally posted by Zuel
After spending a few minutes playing with the flash header
Ah, I'm not the only one doing that wink<
© 2000-2021 Snitz™ Communications