Firstly, in order to make code more readable and importable it is important to surround your code with three backticks
```
like this
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
As for sending image from Nas, you essentially replace the http request with whatever means you have of grabbing the image from the Nas. E.g. a file in
node will read a file and return a buffer. Give it a go. Use a debug node to check the file in node reads a buffer of bytes.