Shape 5

Joomla Templates => Corpway - Club => : beniaminqb January 10, 2018, 12:43:21 AM



: Corporate and JomSocial. Avatars not showing
: beniaminqb January 10, 2018, 12:43:21 AM
Hi, i use Corporate template  and JomSocial 4.5. the template doesnt display the avatars in users profile, and group profiles. Jomsocial works fine with other templates, even the default joomla one. Their support said it is a template problem and I should contact you.
I could use some help to solve this because I really like this template and it fits perfectly the idea of my site.

Here are some screeshots with the profiles with the joomla default template and corporate that shows you the difference.
The template also stretches the avatars displayed in some modules.

Thanks in advance for your support!


: Re: Corporate and JomSocial. Avatars not showing
: beniaminqb January 10, 2018, 12:46:14 AM
and some more images for hep:


: Re: Corporate and JomSocial. Avatars not showing
: mikek January 10, 2018, 12:57:57 PM
Hello,

Please post a url to where this occurs.

This is a problem with their component and something they should fix. A template is not responsible for styling any part of a component, that is the responsibility of the extension developer. If you provide a url of where this can be seen I can see if there's an easy fix though.


: Re: Corporate and JomSocial. Avatars not showing
: beniaminqb January 10, 2018, 02:15:33 PM
Sent you a pm with the url and some login details. Please take a look.

Thank You


: Re: Corporate and JomSocial. Avatars not showing
: mikek January 11, 2018, 07:58:47 AM
Hello,

The problem is their wrapper that contains the profile image doesn't have a width or height set to it, I can't pin point the exact wrapper as there are several of them. Anyway, the issue is the template applies a max-width on images, which is used for responsive designs so that images don't spill outside of the size of their wrappers. Because the wrappers have no size the images also reduce because they can't be bigger than the wrapper. You can disable this feature in the template's configuration under the General tab in the template configuration - just off "Image Auto Height" and "Image Max Width". Turning those off may effect other images on your site, but should be OK with them off.


: Re: Corporate and JomSocial. Avatars not showing
: beniaminqb January 11, 2018, 10:51:21 AM
Thank you, Mikek!