Control Web Panel

WebPanel => E-Mail => Topic started by: kandalf on March 25, 2022, 07:24:53 PM

Title: Roundcube profile image too big
Post by: kandalf on March 25, 2022, 07:24:53 PM
I have a problem with Roundcube, when I open an email the profile image is too big.

(https://i.postimg.cc/Ls8FGPDt/image.png)

How can I fix it?
Title: Re: Roundcube profile image too big
Post by: iraqiboy90 on March 25, 2022, 07:48:34 PM
First confirm this issue is present on other browsers.

If confirmed:

Edit this: if this is the Elastic theme you are using
Code: [Select]
/usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.css
Search for
Code: [Select]
img.contactphoto
Check if this is added to it:
Code: [Select]
width:4rem;height:4rem;
Title: Re: Roundcube profile image too big
Post by: hermesalvesbr on April 08, 2022, 10:39:15 PM
Kandalf, parece que você fala português. Você conseguiu instalar o laravel com o cwp pro?
Title: Re: Roundcube profile image too big
Post by: kandalf on May 19, 2022, 09:07:59 AM
Kandalf, parece que você fala português. Você conseguiu instalar o laravel com o cwp pro?
Sim sem qualquer problema, tenho imenso sites em laravel a funcionar num servidor com CWP
Title: Re: Roundcube profile image too big
Post by: David on May 22, 2022, 10:08:07 PM
Hello

I have the same problem of the stretched profile image occupying the whole panel where the email is shown.

I checked on more browsers and the result is the same

I checked the css style in /usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.css, the "img.contactphoto" is complete with border, height and the rest as follows: img.contactphoto{margin:0 1rem 0 0;border-radius:50%;width:4rem;height:4rem;object-fit:cover}

I tried to change it, but I see no effects at all whatever I do.

I also got another thing I do not understand how to solve.

When replying or writing a new message, despite I settled the configuration to always use html I get no editor tools to format the text, no emoticons (I already enabled the emoticons plugin)....
Title: Re: Roundcube profile image too big
Post by: ekgrad on May 30, 2022, 03:57:20 PM
Did anyone find a solution to this problem
Title: Re: Roundcube profile image too big
Post by: robsonwr on June 02, 2022, 07:14:30 PM
Good afternoon friends

has anyone found a solution to this problem?

any suggestion that works?
Title: Re: Roundcube profile image too big
Post by: ekgrad on June 03, 2022, 03:36:14 AM
Yes I have found a solution

use the commands
cd /usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles
nano -w styles.min.css

and add
.contactphoto {width: 4rem!important;height: 4rem!important;}

at the end of this file and save.
Title: Re: Roundcube profile image too big
Post by: robsonwr on June 03, 2022, 09:38:41 PM
Perfect
It worked ....