react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

Add next/image component as MDX component and convert img tags to Image component

Open harish-sethuraman opened this issue 2 years ago • 16 comments

There are a lot of images inside markdown that are either img tags or markdown images. Need to use next/image component instead of img tags and markdown images.

Edit: These changes are needed for beta.reactjs.org site

harish-sethuraman avatar Feb 25 '22 03:02 harish-sethuraman

Ideally we'd keep markdown syntax for images. Something like this maybe? https://kylepfromer.com/blog/nextjs-image-component-blog

gaearon avatar Feb 25 '22 03:02 gaearon

Sounds good we can try the same

harish-sethuraman avatar Feb 25 '22 04:02 harish-sethuraman

I was interested in making PR for this and wondering why we would use next/image component instead of something like this. https://www.gatsbyjs.com/plugins/gatsby-plugin-image/#using-the-gatsby-image-components

KazuyaSerizawa avatar May 07 '22 07:05 KazuyaSerizawa

Hey @KazuyaSerizawa the beta.reactjs.org site uses nextjs that is why we are trying to use next/image for it.

harish-sethuraman avatar May 07 '22 08:05 harish-sethuraman

Hey @gaearon and @harish-sethuraman Can I work on this issue?

Anishpras avatar May 29 '22 09:05 Anishpras

Feel free to send PR

harish-sethuraman avatar May 29 '22 10:05 harish-sethuraman

is there anyone working on this issue or can i take this?

yashbujji avatar Jun 12 '22 21:06 yashbujji

I am interested in solving this issue.

Dev79844 avatar Jun 17 '22 05:06 Dev79844

If you are working on this. Send a PR and we can take it on from there

harish-sethuraman avatar Jun 17 '22 07:06 harish-sethuraman

@harish-sethuraman could I work on this and submit a PR?

siddhsuresh avatar Sep 18 '22 13:09 siddhsuresh

Sure go ahead.

harish-sethuraman avatar Sep 18 '22 13:09 harish-sethuraman

@harish-sethuraman not sure if anyone is still working on this, but could I work on this?

thomasgilmore avatar Oct 04 '22 03:10 thomasgilmore

Sure go ahead.

harish-sethuraman avatar Oct 04 '22 06:10 harish-sethuraman

hey @harish-sethuraman.. is anyone working on this issue. i think i can resolve this issue.

ShivamPandey00 avatar Feb 14 '23 11:02 ShivamPandey00

Hey!! I want to work on this issue. I'm new here so I'm really excited to start contributing. Please assign it to me.

Gua00va avatar Feb 15 '23 19:02 Gua00va

Geez just assign somebody already lol

Andres-Ventura avatar Feb 19 '23 03:02 Andres-Ventura

@harish-sethuraman I would like to work on this if the PRs are not accepted. Please clarify

ashutosh887 avatar Mar 19 '23 10:03 ashutosh887

@harish-sethuraman Should I work on this?

ashutosh887 avatar Apr 26 '23 06:04 ashutosh887

Hi, I just finished setting up the app locally and I did not understand the problem quite clearly. I am new to open source so any form of help will be appreciated. From the problem statement, I am assuming that the 'img' element in MDXComponents file has to be converted into an Image component right? Correct me if I am wrong

Aayush895 avatar May 17 '23 12:05 Aayush895

Hi, I just finished setting up the app locally and I did not understand the problem quite clearly. I am new to open source so any form of help will be appreciated. From the problem statement, I am assuming that the 'img' element in MDXComponents file has to be converted into an Image component right? Correct me if I am wrong

If you can direct me to a particular folder/file that will be highly appreciated, thanks

Aayush895 avatar May 17 '23 12:05 Aayush895

@harish-sethuraman @gaearon let me work on this if still not resolved... Please assign

ashutosh887 avatar Aug 18 '23 02:08 ashutosh887