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.

Size of Thumbnails in Events

10 years 1 month ago
Licenses:
JomSocial Active

Hi, i am using JS 3.1.1 on my dev site (gebrauchtdvds.de) (NOT PRODUCTIONSITE!)

- i want to increase the size of the thumbnails in the list of all events - what can i do?
- when i want to change a profilpicture of an event - the popup doesn`t show the full content of the Window Box

10 years 4 weeks ago
Licenses:

Hi, szenenight.

You'll need to edit this file:

ROOT/components/com_community/defines.community.php
(WARNING! Core file hack! Please make safe copy before editing it. Also this file will be overwritten during upgrade, please make a safe copy of customized file too)

Edit file in line 29:

define('COMMUNITY_SMALL_AVATAR_WIDTH', 64);

Change 64 to whatever you want. But remember it will affect all small avatars width (most of them have additional size set in css, so don't worry that you break something).

Now you'll need styling for new thumbnails:
#community-wrap ul.forEvents .cIndex-Avatar img {
width: 64px;
height: 64px;
}

Change 64px to whatever you like.
#community-wrap ul.forEvents .cIndex-Content {
margin: 0 0 0 79px;
}

Change 79 to: your avatar size + 10px.

After changes refresh your page with CTRL + F5 and ofcourse you'll need to upload avatars again to create new thumbnails in new size.


- 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: szenenight
10 years 4 weeks ago
Licenses:
JomSocial Active

thanks, that helps, but when i change it to eg. 200px - the crop after upload crops it to 160px i guess - what can i do?

10 years 4 weeks ago
Licenses:

Hi, szenenight.

Hange in the same file values in lines 290 and 291 :)


- 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
10 years 4 weeks ago
Licenses:
JomSocial Active

hm that doesnt work :-(

Attachments:
10 years 4 weeks ago
Licenses:

Hi, szenenight.

Well, we generate 3 files:

www.gebrauchtdvds.de/sn/images/avatar/3a...e0d70e5560ddf571.jpg -> profile avatar in profile (160x160)
www.gebrauchtdvds.de/sn/images/avatar/th...e0d70e5560ddf571.jpg - profile avatar thumb on streams (200x200)
www.gebrauchtdvds.de/sn/images/avatar/3a...60ddf571_stream_.jpg - profile avatar showed as a activity on stream (200x200)

Profile avatar size is in minified js... so can't be changed easily.

This is translation mistake: Eine neue Gruppe erfordert Moderation
Got to Extensions -> Language manager -> Overrides and search for this text. You'll that someone mistranslated it.


- 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: szenenight
10 years 1 week ago
Licenses:
JomSocial Active

Hello, i have updated to 3.2.0.3 - and now the thumb file is 64x64 Pixel

define('COMMUNITY_AVATAR_PROFILE_WIDTH', 160);
define('COMMUNITY_AVATAR_PROFILE_HEIGHT', 160);
define('COMMUNITY_AVATAR_RESERVE_WIDTH', 200);
define('COMMUNITY_AVATAR_RESERVE_HEIGHT', 200);

where can i set the thumb size?

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