Hi everyone,
I’m making a portfolio in React and I have a question.
I have a bunch of pictures I want to use (thumbnail images for projects).
I currently have an array of objects which each have props for each item in the portfolio: a name, an id, an url and an image that will be displayed in a grid. Each of those image keys has a url as its value, but in this case it’s a local file so it’s something like “…/assets/ima01.jps”, etc.
Of course the image is not being displayed.
Is this possible to do this with local files (if so, how?) or do I necesarily have to import every single picture with an import statement? Is the only way around that to upload them somewhere and use the external url in the way I specified above?
Thanks!