Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Increase avatar _file_ resolution (more than 160px) or use original

9 years 5 months ago
Licenses:
JomSocial Active

Hello.

I'm using "getAvatar()" to load the avatar from the user.
The problem is that this image is generated by JomSocial to be 160px by 160px.
How can I make jomsocial generate images with 300px by 300px (and also increase thumbAvatar to 150px by 150px)?

This is not a CSS issue. I know how to change things in CSS. This is a file generation issue.

Thank you

9 years 5 months ago
Licenses:

Hi, Jonathan.

Edit this file: ROOT/components/com_community/defines.community.php look for avatar entries (starting from line 294).
Just set a new size.
Then you'll need to re-upload avatar (this setting will be applied to all new avatars but not old ones).


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Jonathan Roza
9 years 5 months ago
Licenses:
JomSocial Active

Hi Michal.

Many thanks for the quick turnaround.

Please, consider including this as configurable parameters in future versions of JomSocial.

Cheers!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW