1. zoohayr
  2. General
  3. Friday, January 26 2018, 08:48 AM
Hi,

it's a question about content plugin for K2 type articles. knowing that this plugin is not compatible with the K2 system, I tried by integrating the {user avatar id} function! it appears but a large size. is there a setting you can suggest to display the photo of the same style as the demo ?
admin Accepted Answer
Admin
Hi,
you can use {user avatar_mini id} syntax to get the thumb of avatar. Another possibility is to use RAW value and set image style like this HTML code
<img src="/{user avatar id raw}" style="width:150px" />


NOTES:
- for each image field type (so also for avatar) you can user ALIAS_mini to retrieve thumb of image
- {user avatar_mini id} and {user avatar id} return HTML image
- {user avatar id raw} return image URL
- Docs about this at http://docs.easy-profile.com/index.php/article/content-plugin
  1. more than a month ago
  2. General
  3. # 1
zoohayr Accepted Answer
Hi,

thanks for the answer but for a round picture style! how to do ?

like demo
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
you can do it with CSS if you use avatar mini or if you use RAW data then you can use this:
<img src="/{user avatar id raw}" style="width:150px;border-radius:100%" />
  1. more than a month ago
  2. General
  3. # 3
zoohayr Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
you can use something like this:
<a href="/profile.html">Link to profile</a>
  1. more than a month ago
  2. General
  3. # 5
  • Page :
  • 1


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