blurhash
blurhash copied to clipboard
src from local directory not working
Hi, I am having an issue with displaying an image from my local directory:
<img data-v-6383fb07="" src="~/assets/images/postcards/jake-starr-f.png" alt="green lawn grass during daytime" style="height: 100%; width: 100%; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;">
This fails to load the image, however loading an external image works fine, eg:
<img data-v-6383fb07="" src="https://image.nuxtjs.org/preview.png" alt="green lawn grass during daytime" style="height: 100%; width: 100%; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;">
This is most likely not an error with blur hash, but if someone can figure out what I'm doing wrong it'd be much appreciated! Thanks in advance
I'm not entirely sure that this has anything to do with blurhash, but can you provide a reproduction of this? :) Then I can determine if it's an issue in BlurHash or not.
This needs more information or maybe it should be closed because it's a pathing issue... I've run into a similar issue, if you're using react it should be loading your images from your build given you use CRA.