Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Displayed contact picture

  • esric
  • esric's Avatar Topic Author
  • New Member
  • New Member
More
IP: 137.195.68.219 13 years 9 months ago #1700 by esric
Hi

I have just installed Trombinoscope Extended. I have uploaded a contact picture and it is attached the contact. It has been sized to 100 x 120 px (w x h). However, it appears distorted in the displayed vcard (see attachments). Hope you can help.






More
IP: 207.229.131.129 13 years 9 months ago #1701 by admin
Replied by admin on topic Re: Displayed contact picture
Hello,
have you tried the 'crop' option? That will create a thumbnail of your image at the right size.
What browser were you using?
I will try to reproduce your issue, that should be a simple CSS fix (hopefully).

Olivier.
More
IP: 207.229.131.129 13 years 9 months ago #1705 by admin
Replied by admin on topic Re: Displayed contact picture
I have not been able to reproduce the problem so far. Is there a way you can provide a live URL? Thank you.

Olivier.
  • esric
  • esric's Avatar Topic Author
  • New Member
  • New Member
More
IP: 86.157.197.11 13 years 9 months ago #1706 by esric
Replied by esric on topic Re: Displayed contact picture
I tried with and without the crop option and there was no difference. The problem is present in both Chrome and Safari on a Mac. The page was only visible to registered users but I have temporarily made it public. The url is:

www.esric.org/steering-committee.html
More
IP: 207.229.131.129 13 years 9 months ago #1707 by admin
Replied by admin on topic Re: Displayed contact picture
Great thanks, that helps!
Your template is the source of the problem. It overrides styles from Trombinoscope. It re-sizes images in tr_gantry/css/custom.css (through .component-content .picture img and #rt-mainbody img).
Add
Code:
.trombinoscopeextended_component .picture img { max-height: 120px; max-width: 100px !important; height: 120px !important; width: 100px !important; padding: 0 !important; }
to override them.

Olivier.
  • esric
  • esric's Avatar Topic Author
  • New Member
  • New Member
More
IP: 137.195.68.219 13 years 9 months ago #1708 by esric
Replied by esric on topic Re: Displayed contact picture
That fixed the problem. Thanks for your help