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 15273 time(s), 9 post(s) 09.07.2013 13:04:01by super
super

super

09.07.2013 13:04:01
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 ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
imarusic

imarusic

10.07.2013 13:54:25
Hi super,

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

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
super

super

10.07.2013 14:46:33
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.
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
imarusic

imarusic

10.07.2013 14:59:43
In mean time you can resize image directly in a template. Template name is: PopularGroupsList.htm

Regards
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
super

super

10.07.2013 16:57:23
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>


Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
imarusic

imarusic

11.07.2013 07:41:31
Hi,

here is an example:

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

Regards
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
khorvat

khorvat

16.07.2013 08:15:27
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
super

super

19.07.2013 17:07:28
So there won't be any avatar size in next release then how site admin will change the avatar size ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
khorvat

khorvat

19.07.2013 17:55:50
It will be removed from this control only. You will have logo size property.
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts