The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Automatic Avatar Resizing?

View previous topic View next topic Go down

Solved Automatic Avatar Resizing?

Post by runawayhorses on December 12th 2011, 4:35 pm

Is it possible to set your forum so when someone uploads an Avatar that's too wide or high it is automatically re-sized by the forum?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by Guest on December 12th 2011, 4:38 pm

Hi! It's possible! Your forum version is phpBB3? Smile

Guest
Guest


Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by runawayhorses on December 12th 2011, 4:39 pm

How do you do it?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by Guest on December 12th 2011, 4:43 pm

I asked something I think.. Smile

Guest
Guest


Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by runawayhorses on December 12th 2011, 4:47 pm

Yes its phpBB3.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by Guest on December 12th 2011, 4:53 pm

Add to CSS Stylesheet:
Code:
.postprofile dt img{
max-height: 200px;
max-width: 150px;
}
Change 200px and 150px with your values. (ACP => Display => Pictures and colors => Colors => CSS Stylesheet) Wink

Guest
Guest


Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by runawayhorses on December 12th 2011, 5:00 pm

Let me get this straight before a alter my stylesheet: So if someone uploads a Avatar that is 400x400 and I have my values set to 200px and 150px the forum will automatically resize it?

Also, do I have to use those numbers in the stylesheet

1.
2.
3.
4.

Or can I add the code at the bottom of the stylesheet. For example, can I add the coding starting at 49 if that is the last number in my stylesheet? Does each code have to be in a separate number?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by Guest on December 12th 2011, 5:32 pm

@runawayhorses wrote:
Also, do I have to use those numbers in the stylesheet

1.
2.
3.
4.
Don't pay attention to this. Wink

@runawayhorses wrote:Or can I add the code at the bottom of the stylesheet. For example, can I add the coding starting at 49 if that is the last number in my stylesheet? Does each code have to be in a separate number?
Yes, press one time Enter then just paste the code. Wink

Guest
Guest


Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by runawayhorses on December 12th 2011, 5:40 pm

So you're also saying the forum will automatically resize a picture that is too big if someone uploads a picture for there Avatar? It doesn't matter what size the picture they try to upload the forum will automatically resize it?? It won't reject the Avatar? That is something I need to know. That's the whole point of doing this.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by Guest on December 12th 2011, 5:43 pm

Yes, of course! Wink

Guest
Guest


Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by runawayhorses on December 12th 2011, 5:53 pm

Thank you very much it worked perfectly!. Smile

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Automatic Avatar Resizing?

Post by MrMario on December 12th 2011, 5:54 pm

Topic Solved & Locked

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum