header

Collapse

Template Variable For the User's Avatar (Instead of Avatar Thumbnail)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Go to Thank You vB-Info
    Senior Member

    ❤️
    • 12.2020
    • 211
    • 10
    • 1

    Font Size
    #1

    Template Variable For the User's Avatar (Instead of Avatar Thumbnail)

    Go to Thank You
    I am attempting to enlarge avatars displayed next to posts in conversation_userinfo. I've found that vB doesn't have built-in resizing options, and that it can be done with CSS. So far so good.



    This template uses these tags to call the thumb version of the images:





    Code:



    {vb:raw avatarbase}{vb:raw conversation.senderAvatar.avatarpath}



    Code:



    {vb:raw avatarbase}{vb:raw conversation.avatar.avatarpath}

    Resizing a 64x64 thumbnail to 160x160 of course makes it look terrible. So I'd like to use the same image that appears on the user's Profile page instead. It's big enough, and the URL is identical ... only with "&thumb=1" inserted.



    What vb tags can I use to call this larger image?



    (I tried just copying {vb:raw baseurl_corecdn}/{vb:raw avatarUrl.avatarpath} from the Profile template, but it doesn't return anything. Presumably that one is dependent upon a user ID value that isn't being passed in the conversation thread.

    Devami...Go to Top of Post
    Similar Threads
X

Thread Information

Collapse

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

    Those who read this thread

    Collapse

    Members who have read this thread: 0

      Related Topics

      Collapse

      Topics Statistics Last Post
      Started by vB-Info, 2 weeks ago
      0 responses
      4 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Started by vB-Info, 2 weeks ago
      0 responses
      2 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Started by vB-Info, 13.03.24, 20:42
      0 responses
      21 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎

      AdBlock Detected

      Please Disable Adblock

      Please consider supporting us by disabling the ad blocker.

      I've Disabled AdBlock
      Home