Join the Webstudio community

Updated 4 weeks ago

How do i access images uploaded into html embed.

Is there a way i can access the images uploaded into the assets for a website within webstudio project to use the in html embed tag. what is the url or method to use it.
M
J
c
6 comments
I really don’t know… @John Siciliano do you have an idea?
You shouldn’t do that because the image URL may change in the future and that’s why we don’t make them available through the UI
So it is not possible to make a code who manipulate these images?
looks like that. so i guess we need to have a interface to modify html embed code which is non script and html to change into blocks as per webstudio strcuture.
Idk exactly the use cae but I think it's possible... you could add img component to the page and hide it but put a class/id on it so that you can retrieve the src via your html embed
Thanks John ! I gonna try 🙂
Add a reply
Sign up and join the conversation on Discord