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 )

15158 put(a) pogledan, 9 odgovor(a) 9.7.2013. 13:04:01Kreirao(la) super
super

super

9.7.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 ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
imarusic

imarusic

10.7.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.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
super

super

10.7.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.
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
imarusic

imarusic

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

Regards
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
super

super

10.7.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>


Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
imarusic

imarusic

11.7.2013. 7:41:31
Hi,

here is an example:

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

Regards
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
khorvat

khorvat

16.7.2013. 8: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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
super

super

19.7.2013. 17:07:28
So there won't be any avatar size in next release then how site admin will change the avatar size ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
khorvat

khorvat

19.7.2013. 17:55:50
It will be removed from this control only. You will have logo size property.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava