By Andrew McDonald on Monday, 23 June 2014
Likes 0
Views 1.3K
Votes 0
The widgets for Album and Photos displayed in the sidebar of profile pages loads thumbnails that are 128px x 128px is size and displays them as 36px x 36px.

Where do I change the code to generate a larger image than 128px?

cheers
Andrew
Hello Andrew McDonald,

Sorry for late reply to this,
The square size code 128px x 128px image is being generated from JoomlaFolder\administrator\components\com_easysocial\constants.php
LINE 345 & 346


define( 'SOCIAL_PHOTOS_SQUARE_WIDTH' , 128 );
define( 'SOCIAL_PHOTOS_SQUARE_HEIGHT', 128 );

Hope this help.
·
Thursday, 26 June 2014 13:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andrew McDonald,

Sorry for late reply to this,
Can you try apply this following CSS code in your template css file and see how it goes?

/* Profile page */
body div#fd.es .es-avatar {
height: 95px;
width: 95px;
}

body div#fd.es .es-avatar img {
height: auto;
width: 100%;
}

/* Dashboard page*/
body div#fd.es.mod-es-recent-albums .es-item-grid > li {
width: 100px;
}
·
Monday, 23 June 2014 18:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Ariex

Changing CSS will not solve the problem. It will just stretch a small 128px x 128px and make it look pixelated.

My thumbnail needs to be 400px x 400px, this is why I'm asking for help to find out where is the code the 128px x 128px image is being generated from.

cheers
Andrew
·
Monday, 23 June 2014 19:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andrew McDonald,

Sorry for late reply to this,
I think i misunderstand in your first post, do you mean that when you upload the image file, you would like the thumbnail make it to 400px x 400px right? Then may i know which part are you referring? Check my screenshot below. Please advise.
·
Tuesday, 24 June 2014 02:44
·
0 Likes
·
0 Votes
·
0 Comments
·
I would like to change the photo and album apps displayed in the sidebar on a members profile page.
The applications are called "User — Albums" and "User — Photos".
cheers
Andrew
·
Tuesday, 24 June 2014 10:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Ahhh that's the one! Thanks Ariex, that is a huge help!
·
Friday, 27 June 2014 13:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andrew McDonald,

You're welcome, hope you have a great weekend.

I will mark this thread as resolved and lock it to avoid any confusions in the future, but if you need any help please feel free to start a new thread in our forums.
·
Saturday, 28 June 2014 00:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post