Support

  1. Lumigasport
  2. Support
  3. Friday, September 29 2017, 02:23 PM
Hi Support Team,

Is it possible to resize the avatar only in the map?

We use high resolution avatars because we show them big in the user list.
But in that case it's also big in the map. See screenshot.

Is there a custom code we could use to show the avatar for 20% in the map for example?

Hope to hear from you.

Kind regards,
Lumiga
Attachments (1)
admin Accepted Answer
Admin
Hi,
you can do this with a simple CSS code like this

.jsn-l-map .jsn-l-avatar img{
width:20%;
}
  1. more than a month ago
  2. Support
  3. # 1
Lumigasport Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
this is not something so simple because width of infowindow come from Google Map.

the only way (not tested by us) is to override module template and add code to set a max width, see here https://stackoverflow.com/questions/3844314/controlling-the-width-of-a-google-maps-infowindow

To override module template you can follow these steps:
- Copy file from modules/mod_jsnmap/tmpl/default.php to /templates/your-template-folder/html/mod_jsnmap/default.php
- edit new file
  1. more than a month ago
  2. Support
  3. # 3
Lumigasport Accepted Answer
Basic
Oké that's an option, but I think it's also an option to use px instead of %.
In that way the panel has collapsed automatically and gets an acceptable format.

This code helped me to fix this issue.

.jsn-l-map .jsn-l-avatar img{
width: 50px !important;
height: 41px !important;
margin-bottom: 8px;
}

But thanks for your awesome support!
We appreciate that.

Kind regards,
Lumiga
  1. more than a month ago
  2. Support
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.