Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src from local directory not working #106

Open
benhutchings opened this issue Feb 3, 2021 · 2 comments
Open

src from local directory not working #106

benhutchings opened this issue Feb 3, 2021 · 2 comments
Labels
question Further information is requested

Comments

@benhutchings
Copy link

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

@jerry-git jerry-git added the question Further information is requested label Jun 10, 2022
@Thisen
Copy link
Collaborator

Thisen commented Jul 14, 2022

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.

@Garabed96
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants