Next.js Discord

Discord Forum

Best way to import dozens of images from one location?

Unanswered
LunarSky posted this in #help-forum
Open in Discord
Hey Everyone, I have the need to import dozens if not, over a hundred different images into one file. Does anyone know any genius ways to get this done without importing everything individually?

1 Reply

You can use a link path to each image and render them dynamically. If the filename follow a schema you can apply that in a map, else you can use a database or or or