How to access the local storage from template node

Hello

I have stored some images on my local storage I need to used them in a table
currently "item.logoUrl" is a link to a website where this image is, but I have those images in my local storage. How do I point the img tag to use the images from my local storage they are in /data/logos

<template v-slot:item.direction="{ item }">
  <div class="container">
	<img :src="item.logoUrl" :alt="logo" />
  </div>
</template>

You need to "serve them" so they are available to Node-RED.

Either adjust your node-red settings.js to include a httpStatic entry so they can be served, or serve them using http-in -> file-node -> http-response

1 Like

that's works perfectly thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.