How to read images using js in a webserver

I know how to send files through node.js but I need help with images. I am using express by the way.https://replit.com/@FireSqurriel/QuietCarpalDemands-1#index.js

If you have your images anywhere (as in, in any subfolder or directly) within the homepage folder, they are hosted. Just remember, that to the web, that folder is actually the root, nothing outside of it can be accessed and that folder’s path is technically /, not /homepage.