Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIF image #23

Closed
eur2 opened this issue Aug 30, 2019 · 4 comments
Closed

GIF image #23

eur2 opened this issue Aug 30, 2019 · 4 comments

Comments

@eur2
Copy link

eur2 commented Aug 30, 2019

Hello, I'm using the plugin gatsby-remark-relative-images. Everything is working well. All the image (jpg) are well converted to relative path. Except when I have a GIF image instead of JPG into markdown content. Then the relative path doesn't work. Has anyone encountered this issue?

@maximeduhamel
Copy link

Hi, in another similar issue you can see an answer from Kyle Mathews. I hope you'll find your answer there 😊

gatsbyjs/gatsby#7317 (comment)

@eur2
Copy link
Author

eur2 commented Aug 30, 2019

Thanks for the link!
I tried it but that didn't work. I have this weird double relative path:
<img src="../../static/assets/a.gif" alt="" title="">

Would it be possible to add an exception to don't convert to relative path GIF files from a markdown?

@smashercosmo
Copy link

Having the same problem. It should be possible to specify file extensions to be handled by the plugin.

@eur2
Copy link
Author

eur2 commented Feb 26, 2020

@smashercosmo To make it working in gatsby, I'm using the publicUrl and a classic tag.

@eur2 eur2 closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants