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

I haven't find a way to use images files in the project #538

Closed
LuisduardoLanfredi opened this issue Jun 6, 2018 · 11 comments
Closed

I haven't find a way to use images files in the project #538

LuisduardoLanfredi opened this issue Jun 6, 2018 · 11 comments

Comments

@LuisduardoLanfredi
Copy link

LuisduardoLanfredi commented Jun 6, 2018

Hi, I created a Angular project and included the folder app/assets/images/banner_desktop.jpg. I couldn't figure out how to point to this image as a background or a simple image. Tried this:

<img src="assets/images/banner_desktop.jpg" />

Any idea?

@tiliev
Copy link
Collaborator

tiliev commented Jun 8, 2018

Hello, @LuisduardoLanfredi,
Currently StackBlitz does not support images and static assets. The team is working on this. You can take a look at this issue - #72.
You can workaround this by uploading your images elsewhere and referencing them in StackBlitz or using GitHub - #45 (comment).

@tiliev tiliev closed this as completed Jun 8, 2018
@dhanarajknp
Copy link

hai any updates on support images and static assets

@tiliev
Copy link
Collaborator

tiliev commented Dec 23, 2018

@dhanarajknp, it is still in progress. Please follow this issue for further updates - #72.

@felipe-ff
Copy link

Hello, @LuisduardoLanfredi,
Currently StackBlitz does not support images and static assets. The team is working on this. You can take a look at this issue - #72.
You can workaround this by uploading your images elsewhere and referencing them in StackBlitz or using GitHub - #45 (comment).

I'm using Ionic and even loading the image from external Url it won't show...

@selavis
Copy link

selavis commented Apr 3, 2020

I found a way to show Angular static assets (.png in my case) in Stackblitz.

1 Upload your project in github
2 Go to asset/Image
3 Open your image in github
4 Open it in new tab
5 Copy link
6 Replace the link within your github html code project
7 Open project in Stackblitz
8 Done

@abrshdir
Copy link

Still, in 2021 we still don't have a viable method to access images!?

@MrRSquared
Copy link

MrRSquared commented Mar 24, 2022

Bumped for 2022... :(
Having said that, the rest of the access we have is incredible. So... Should I complain?

@SantiGameDev
Copy link

Apparently viewing a png file opens up an image viewer. I tried copying the raw contents but it got corrupted on the way.

@nikolaospaterakis
Copy link

2023 and we still can't use images on stackblitz?

@XcantloadX
Copy link

Now 2024, any progress on this?

@Eric-Schumann
Copy link

6 years and stackblitz still can't support some of the most basic things. Why are we using Stackblitz?

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

No branches or pull requests