React-PDF version 1.6.8 not loading images #2046
Unanswered
NkosiShezi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @NkosiShezi, I see that you are using the svg extension which is not supported by the Image component. You can only use .jpg, .png, or base64 encoded image strings with the Image component. There is this Svg component that you can use with the svg elements but I'm not sure you can use it with version 1.6.8 so you might need to upgrade your version. good luck, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I need help here whenever I try to pass a src to Image i get this error below . I'm not sure what it means
Beta Was this translation helpful? Give feedback.
All reactions