Answer the question
In order to leave comments, you need to log in
How to change the parameters of an image received with Node.js?
I'm getting an image using a server on Express:
<img src="/image1">
app.get("/image1", (req, res) => {
res.sendFile(path.join(__dirname, "IMAGES", "1.jpg"));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question