I know at least a couple people made mods to do this on YSE, and I used my own implementation to allow users to upload an avatar. I'm OK with rewriting it when I convert to SMF, but I think it's a pretty simple and worthwhile option to add.
Thoughts?
You're probably right, would be an easy enough feature to add in.
I've always prefered this as a mod, but if enough people want it I can add it in.
I'll even put in "[ ] don't let other people use my avatar".
-[Unknown]
I like that, and would WELCOME that!
/me gets on the ground and starts brushing it off, lightly tossing rose petals in [Unknown]'s walking path
That give you any idea of how much I want this?
Quote from: Douglas on August 03, 2003, 08:39:27 PM
I like that, and would WELCOME that!
/me gets on the ground and starts brushing it off, lightly tossing rose petals in [Unknown]'s walking path
That give you any idea of how much I want this?
* senosvision take rose petals and join ceremony started by Douglas ;D
I would want this too!!
And the "[ ] don't let other people use my avatar".
id a huge bonus!
THANKS Unknown
me too
I want it too ;)
I have Avatars disabled, so I wouldn't really care.
I think it's a grand idea. Any more room out there for another person throwing petals? ;D
Petals, petals. Actually, it's just like with huge amounts of smileys: not my priority, but my users can't seem to live without it!
Quote
I'll even put in "[ ] don't let other people use my avatar".
Now, that's a great thing.
Quote[ ] don't let other people use my avatar
Isn't that easy to bypass? Just save the avatar, and reupload it. It seems like it would waste the forum host's webspace.
Also, people could just Right click on it, copy the URL and use it that way.
Quote from: Jk on August 09, 2003, 03:50:39 PM
Also, people could just Right click on it, copy the URL and use it that way.
No they couldn't....
But, I suppose they *could* save it and such... if it didn't make sure you're not uploading an avatar that already exists.... which it should.
Okay, so you change a pixel or resave it in a new format. At least it makes it difficult.
-[Unknown]
or you could change the name but if you check by name what if 2 people have 'avatar.gif'. How would a php script (with gd lib) check if it is the same image? There is no possible way you could stop someone from stealing your avatar so long as you let them see it. I think this feature is going to be inevitably bugged. I like the allowing of people to upload avatars though.
No need to use gd groundup, all you need to do is compare the code within files, exactly the same as comparing text files, etc.
hmm.. true.
ok, uploadable avatars are now a feature :)
and how it looks from the profile panel
Looking good (https://www.simplemachines.org/community/Themes/default/images/post/thumbup.gif)
just a suggestion: i think blank.gif file should be put in images directory, not avatars
some admins out there tend to delete blank.gif accidentally when changing the whole avatar set, and users cant use blank avatar anymore
Though I agree this might be a problem for some admins, changing the directory for just blank.gif is a little laborious. I hope all admins read this and promise to never delete blank.gif again ;D
I notice in the profile description it says that the image must be JPG or GIF. Could you add PNG as well?
Anyway, great work, Compuart! Thanks a million!
Wow - looking great!!
The resize feature is a really nifty feature. I assume when the use selects their own avatar (non uploaded) and it is to big it is uploaded to the server, resized and set as their avatar? If that is the case that is really well thought out!
nice new option!
Yup, Compuart always does awesome stuff.
-[Unknown]
GD cant resize GIF images, can it?
Quote from: Spaceman-Spiff on August 11, 2003, 07:07:18 PM
GD cant resize GIF images, can it?
Well, yes and no. GD 2 can do imagecopyresampled...
-[Unknown]
Quote from: Joel on August 11, 2003, 04:28:34 PM
I notice in the profile description it says that the image must be JPG or GIF. Could you add PNG as well?
lol, I've been working on that screen for hours, no days and I didn't even
read that description :o :P
(but yes, gif, jpg, png and bmp are resized and even more formats are allowed as external image)
QuoteAnyway, great work, Compuart! Thanks a million!
Quote from: Grudge on August 11, 2003, 04:50:41 PMWow - looking great!!
Quote from: BiErLeEuW on August 11, 2003, 05:00:23 PMnice new option!
Quote from: [Unknown] on August 11, 2003, 05:53:11 PM
Yup, Compuart always does awesome stuff.
Thanks :D
QuoteThe resize feature is a really nifty feature. I assume when the use selects their own avatar (non uploaded) and it is to big it is uploaded to the server, resized and set as their avatar? If that is the case that is really well thought out!
yep, that's the case. It'll only work if you have GD module installed and if you are allowed to use the copy function on url's.
Quote from: Spaceman-Spiff on August 11, 2003, 07:07:18 PMGD cant resize GIF images, can it?
Some versions can. For those versions that can't I'm using a free-to-distribute library, which you can download worldwide, but are only allowed to use it in America ;)
::) that kinda sucks...
well, cant we just convert gifs to pngs, that will solve the problem
Quote from: Spaceman-Spiff on August 11, 2003, 09:09:49 PMwell, cant we just convert gifs to pngs, that will solve the problem
That's what it does in the first place. As soon as it sees it's gif it tries to use GD (and on failure the PHP library) to convert the image to png. But it's still not legal in Europe. So, when I was developing this, I must have been temporarily unaware of where I was at that moment ;)
Thanks again Compuart! You rock! :)
Hi Compuart...
Any idea on how the avatar on the index page can be resized in SMF 2.0 to a fixed size...
Thanks.
it has it already!