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

Generating <image> instead of <img> #13

Open
s1n7ax opened this issue May 10, 2024 · 0 comments
Open

Generating <image> instead of <img> #13

s1n7ax opened this issue May 10, 2024 · 0 comments

Comments

@s1n7ax
Copy link

s1n7ax commented May 10, 2024

Hi, I'm using image withing SVG to contain the image within the svg path. However the tag of the image should be <image> not <img>. I'm wondering if there is a way to generate the custom image source without using <Image> tag or if it's possible to generate <image href=""> tag instead of <img src="">

Here is how I'm using images with SVG
https://github.com/s1n7ax/my-website-ssr/blob/d58d779a88151c112158bd3ee4c4bba677cefc2d/src/pages/home/intro.rs#L94-L104

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

1 participant