Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Font Size
    #1

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

    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...
    Similar Threads

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

      Working...
      X
      0x0