MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

How to change the group pic / avatar size ?  (Mono Support )

Viewed 13834 time(s), 9 post(s) 7/9/2013 1:04:01 PMby super
super

super

7/9/2013 1:04:01 PM
I am trying to decrease the group pic size as I have this in default.aspx:
<MonoX:PopularGroupsList runat="server" ID="NewGroups1" CacheDuration="600" PagingEnabled="false" MaxDescriptionChars="90" AvatarSize="20" PageSize="5" RewritePageTitle="false"></MonoX:PopularGroupsList>

But in the setting of webparts and even in code in default.aspx, I have tried changing the size or avatar but it never changes anything, why ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
imarusic

imarusic

7/10/2013 1:54:25 PM
Hi super,

It seems that it's a bug on our side. We will let you know when we fixed it.

Regards.
This content has not been rated yet. 
3016 Reputation 428 Total posts
super

super

7/10/2013 2:46:33 PM
Thank you for getting back to me..I will keep an eye on this forum, please post a message with solution here one bug is fixed on your end.
This content has not been rated yet. 
6018 Reputation 709 Total posts
imarusic

imarusic

7/10/2013 2:59:43 PM
In mean time you can resize image directly in a template. Template name is: PopularGroupsList.htm

Regards
This content has not been rated yet. 
3016 Reputation 428 Total posts
super

super

7/10/2013 4:57:23 PM
Is this correct as I don't see any change in the result ? Still same big size of group image ?

As you can see, I have tried adding width and height for img 

<div class="group-item clearfix">
    <div class="group-image">   
        <a href="<# UrlView #>">
            <img src="<# ImageUrl #>" style="border: none;" alt="<# Name #>" width="75px" height="75px"/>
        </a>
        <div class="arrow"></div>
    </div>
    <div class="content">
        <h2><a class="group-name" href="<# UrlView #>"><# Name #></a></h2>
        <p>
            <# Description #>
        </p>
    </div>
</div>


This content has not been rated yet. 
6018 Reputation 709 Total posts
imarusic

imarusic

7/11/2013 7:41:31 AM
Hi,

here is an example:

<img src="<# ImageUrl #>" style="border: none;width:40px;height:40px;" alt="<# Name #>" />

Regards
This content has not been rated yet. 
3016 Reputation 428 Total posts
khorvat

khorvat

7/16/2013 8:15:27 AM
Hi,

just to point out the right property to use when working with the PopularGroupList, you should use the GroupLogoSize property to set the size of the group image. Available sizes can be found in the ApplicationSettings.ThumbnailSizeDefaults enum.

Note: AvatarSize will be removed in next version of MonoX.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

7/19/2013 5:07:28 PM
So there won't be any avatar size in next release then how site admin will change the avatar size ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

7/19/2013 5:55:50 PM
It will be removed from this control only. You will have logo size property.
This content has not been rated yet. 
15993 Reputation 2214 Total posts