Skip to Content Skip to Menu

Userlists result - avatar as thumbnail

  • bazik666
  • bazik666
  • OFFLINE
  • Posts: 20
  • Thanks: 3
  • Karma: 0
7 years 10 months ago #288388 by bazik666
Userlists result - avatar as thumbnail was created by bazik666
Hello,

how to set oryginal image in userlists result?
I display avatar in one column, but i get for example image with src="tnpending_n.png" instead "pending_n.png".

Where i can change it?

Regards,
Luke

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
7 years 10 months ago #288415 by krileon
Replied by krileon on topic Userlists result - avatar as thumbnail
Userlist output of the avatar field always shows the thumbnail size. For the fullsize image you'll need to use a Custom HTML field and substitute in the fullsize image with the below usage.

[cb:userfield field="avatar" /]

See the below for further substitution usage information.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • jimnels0
  • jimnels0
  • OFFLINE
  • Posts: 5
  • Thanks: 2
  • Karma: 1
6 years 11 months ago #299103 by jimnels0
Replied by jimnels0 on topic Userlists result - avatar as thumbnail
I've read the tutorial on Using Substitutions but it isn't sinking in! I would like to display the larger uploaded images for a userlist instead of the "tn" thumbnail files. Can you give more specific details on the steps involved and the syntax for the custom HTML field please? Do I create two fields in CB Field Management (one of type "Text field" to contain the image file name to replace the "tn" filename in the path of the <img src=...> and one of type "Custom HTML" to somehow use that text field in the url)? It is a powerful option and I can't wait to use it.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 11 months ago #299113 by krileon
Replied by krileon on topic Userlists result - avatar as thumbnail
Create a Custom HTML field and added [cb:userfield field="avatar" /] to the Description parameter. Now add that Custom HTML field on your userlist. This will output the full size image on your userlist. If you don't want that Custom HTML field visible on profile move it to a new tab that's in a not shown on profile tab position.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: jimnels0

Please Log in or Create an account to join the conversation.

  • jimnels0
  • jimnels0
  • OFFLINE
  • Posts: 5
  • Thanks: 2
  • Karma: 1
6 years 11 months ago #299162 by jimnels0
Replied by jimnels0 on topic Userlists result - avatar as thumbnail
Thanks Kyle! That was easy and it works great.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum