Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Discuss > Web Design, Templates, and Themes

Limiting the size of avatars

User bernd
Date 7/5/2008 3:36 pm
Views 781
Rating 0    Rate [
|
]
Previous · Next
User Message
bernd

I noticed that some users are not aware of the difference between a personal photo and avatars. Is there a way to limit the size of avatars in WebGUI? I have already added a max-width style directive to my thread template. However, it would be more powerful to resize avatars at the time of submittal. Is there a way to do this?

Bernd

--
Trying to build a non-profit community portal for free-climbers around Magdeburg/Germany. Check out http://www.klettern-md.de (under construction).

--- (Edited on 05.07.2008 22:36 [GMT+0200] by bernd) ---



Back to Top
Rate [
|
]
 
 
marieken

Hi,

you could use the Thumb macro to get the thumbnail of the uploaded photo:

<tmpl_if avatar.url>
    <img src="" alt="<tmpl_var username>" class="class01" />
</tmpl_if>

You can set the size of the thumbnail for your entire site in the Settings > Content > Thumbnail size. (size is in pixel width or height, depending in the biggest number)

In the Collaboration System there is the option to set the thumbnail size for the CS only. (Display > Thumbnail size)

Greeting, marieken

--- (Edited on 7/7/2008 5:35 am [GMT-0500] by marieken) ---



Back to Top
Rate [
|
]
 
 
bernd

I do not see that this is much better than adding a max-width style attribute to the template. In both cases, I need to change CS templates, which I prefer not to do.

It seems that limiting the size of avatars or automatic resizing at the time of submittal is currently not possible in WebGUI. Can someone confirm? If that is the case I am going to to submit an RFE.

--
Trying to build a non-profit community portal for free-climbers around Magdeburg/Germany. Check out http://www.klettern-md.de (under construction).

--- (Edited on 07.07.2008 21:48 [GMT+0200] by bernd) ---



Back to Top
Rate [
|
]
 
 
bernd

As it seems there is no mechanism for limiting the size of avatars I have submitted an RFE. I believe this is a must-have when working with avatars. So maybe you want to support my request.

--
Trying to build a non-profit community portal for free-climbers around Magdeburg/Germany. Check out http://www.klettern-md.de (under construction).

--- (Edited on 16.07.2008 10:45 [GMT+0200] by bernd) ---



Back to Top
Rate [
|
]
 
 

Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Smoke Test for WebGUI (Stable) (2008-11-21) by botaction - Fri @ 12:37am

Re: Site paid for by advertizing by pwrightson - Thu @ 10:59am

Re: Site paid for by advertizing by JT - Thu @ 08:58am

Re: Regelmäßiger Termin für Usertreffen in der Rhein-Neckar-Region by Klaus - Thu @ 06:11am

Smoke Test for WebGUI (Stable) (2008-11-20) by botaction - Thu @ 12:00am

Smoke Test for SVN (2008-11-20) by botaction - Thu @ 12:00am

Re: Improving page layouts by fdillon - Wed @ 08:38pm

Re: Improving page layouts by knowmad - Wed @ 08:25pm

Re: Site paid for by advertizing by knowmad - Wed @ 08:07pm

Re: SSL Configuration? by knowmad - Wed @ 07:51pm

Re: The Death of the Collaboration System by preaction - Wed @ 07:39pm

SSL Configuration? by dwittenberg - Wed @ 04:16pm