What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Avatars in PM's

Pages: (2): « First « 1 [ 2 ] Last »
Avatars in PM's
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. RE: Avatars in PM's
quote:
Originally posted by Salem

Would it be possible to add code so that when adding an Avatar it will automatically resize it to an appropraite size if it is too big? Especially when using a image from the net. If seen another forum implememnting this, so thought you could too.

something simple like in the image tag width= height= Or just ban certain image sizes giving the user a message in usercp when they try and do so.
11-01-2005 06:06 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Avatars in PM's
or something like
code:
if img.width>155
img.width=155

This post was edited on 11-01-2005 at 06:09 PM by MeEtc.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
11-01-2005 06:09 PM
Profile PM Web Find Quote Report
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
RE: RE: Avatars in PM's
quote:
Originally posted by Absorbation
something simple like in the image tag width= height=

Yes, that was what i meant.

quote:
Originally posted by Absorbation
just ban certain image sizes giving the user a message in usercp when they try and do so.


I would prefer to see the avatar resized rather than banning large sizes.

This post was edited on 11-01-2005 at 06:11 PM by Salem.
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
11-01-2005 06:10 PM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Avatars in PM's
quote:
Originally posted by Salem
Would it be possible to add code so that when adding an Avatar it will automatically resize it to an appropraite size if it is too big?
That's done for all uploaded (avatar.php) avatars. As for remote linked avatars, I don't really want to add PHP code to check those, since they're on un-trusted remote servers... :dodgy:

There is a JavaScript-based resizer for all avatars, but it's not 100% effective/reliable. :-/
11-01-2005 06:14 PM
Profile PM Web Find Quote Report
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
RE: RE: Avatars in PM's
quote:
Originally posted by WDZ
That's done for all uploaded (avatar.php) avatars. As for remote linked avatars, I don't really want to add PHP code to check those, since they're on un-trusted remote servers... :dodgy:

There is a JavaScript-based resizer for all avatars, but it's not 100% effective/reliable. :-/


Ok, thanks
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
11-01-2005 06:19 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On