question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Avatar does not show full

See original GitHub issue

0-neu-d4-4d7f98489c386eed214c2db23ecf1982

Object message

{
      _id: messageChatDTO.id,
      text: messageChatDTO.message,
      createdAt: new Date(messageChatDTO.createdDate),
      user: {
        _id: messageChatDTO.userId,
        name: messageChatDTO.nameUser,
        avatar:  URL_SERVER+'/getPhoto?access_token='+accessToken+'&lastModifiedDatePhoto='+messageChatDTO.lastModifiedDatePhoto
      }
}

Render

<GiftedChat
          showUserAvatar={true}
          messages={this.state.messages}
          onSend={(messages) => {
            this.onSend(messages);
          }}
          user={{ _id: idUser}}
/>

Additional Information

  • Nodejs version: v6.11.3
  • React version: 16.0.0
  • React Native version: react-native: 0.50.3
  • react-native-gifted-chat version: 0.3.0
  • Platform: iOS

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

1reaction
alekspicklecommented, May 8, 2018

screen shot 2018-05-08 at 5 28 58 pm Same here. not a network issue, obviously)) Also could not find comprehensible guide how to customize avatar. As example maybe a way to change position of image?

0reactions
stale[bot]commented, Feb 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix: Facebook Avatar Not Showing Up - YouTube
In this tutorial, we'll share a few approaches that you can try and fix the issue when your Facebook avatar is not working....
Read more >
Fixing Facebook Avatar not showing up (2021 and 2022)
The ways to fix avatar option not showing up issue which worked for people · Check if you are using a correct Facebook...
Read more >
My Avatar Is Showing Incorrectly or as a Gray X
To do this, simply navigate to your Avatar section and click the "Click here to re-draw it!" link located underneath your avatar's image....
Read more >
css - HTML - Image is not displaying in full - Stack Overflow
I was trying to install this theme on my blog and I noticed a little problem - the avatars in the comment section...
Read more >
Why Don't I Have A Facebook Avatar? Try This Before Giving Up
If your Facebook Avatar is not showing up on your app, you might need to update your Facebook app on iOS or Android....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found