Javascript – Nextjs serve lots of static files (images) with dynamic file name
I have several hundreds of images for a dynamically growing image gallery build with nextjs. Images are inside the public folder and can be shown with import image1 from '../../public/image1.png' // this works <img src={image1.src} /> How can I dynamically…