You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I wanted to go on Gatsby 3.0 and enjoy the full leads of the new Gatsby image management. That being, I faced a problem with my project.
I have to return images corresponding to a document name of profile names and other data from a JSON file. For now, I use the OriginalName option in the traditional Gatsby Image plugin. Do you plan to do the same with the new plugin?
As you can see, in the historyprofile.js component, I use photos lying in a specific directory and I turn them back into a Profile.js component in which the photo association matches the data of the JSON file with the name and position in the company. There is also a more complete return in the TeamCadres.js component you can see this rendering at: https://capriti.netlify.app/about/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I wanted to go on Gatsby 3.0 and enjoy the full leads of the new Gatsby image management. That being, I faced a problem with my project.
I have to return images corresponding to a document name of profile names and other data from a JSON file. For now, I use the OriginalName option in the traditional Gatsby Image plugin. Do you plan to do the same with the new plugin?
I have the repository at this address: https://github.com/pataco80/capriati-peinture
As you can see, in the historyprofile.js component, I use photos lying in a specific directory and I turn them back into a Profile.js component in which the photo association matches the data of the JSON file with the name and position in the company. There is also a more complete return in the TeamCadres.js component you can see this rendering at: https://capriti.netlify.app/about/
Thank you for your return on this subject.
Beta Was this translation helpful? Give feedback.
All reactions