Jomsocial Members Profile Pics Cropping

GK User
Wed Jun 22, 2011 11:45 am
Hi, my site is www.ogreeks.com, and on the main page the profile pics for the members have inconsistent sizes. Some are vertical, some horizontal etc...

You can see this on the main page for users Tony and Super Admin.

How can we make the sizes of these thumbnails consistent and automatic sized correctly to the same size.

It is funny because on this page, on the bottom the square thumbnail was resized automatically:
http://www.ogreeks.com/component/commun ... ofile.html which would be good for the main page as well.

If you have any suggestions it would be much appriciated.

Thanks,
Chris
User avatar
Fresh Boarder

GK User
Thu Jun 23, 2011 12:10 pm
what i did for a width i edited my templates/gk_musicity/css/gk.stuff.css.

around line 220 i added width: 150px !important; .. it should look like this

Code: Select all
.gk_js_members_main .gk_js_avatar img {
display: block;
width: 150px !important;
opacity: 0.8;
filter: alpha(opacity=80);
}
User avatar
Junior Boarder

GK User
Thu Jun 23, 2011 1:52 pm
Thanks for the response.

That is a good temporary solution, but it seems to stretch the image.

I wonder if there is another way. I am sure there has to be.

I will look into this and let you know if I find anything.

Take care
User avatar
Fresh Boarder

GK User
Thu Jun 23, 2011 3:33 pm
I don't think it has to do much with module, its the profile picture in jomsocial. If the picture in jomsocial is smaller then 150px in width of course the module in front page its gonna strech the image to be 150px. So that means you have to make some how the picture in jomsocial to look square so the picture in front page look square to. I have the same problem
User avatar
Junior Boarder


cron