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

Using <picture> html element to provide alternative image resources #64

Open
osmanraifgunes opened this issue Aug 24, 2020 · 0 comments

Comments

@osmanraifgunes
Copy link

I am using your extention for our web site. It is very cool.

Webp format is verr effective and small on size. But safari is not supporting it.

I solve this problem for static images by providing alternative sources to my image:

   <picture class="img-fluid rounded-circle" alt="Hasan Behlül Bozal">
        <source srcset="img/alternative.webp" type="image/webp">
       <img class="img-fluid rounded-circle" src="img/alternative.jpg">
    </picture>

How can I apply this solution with SVGInjector.

To see the problem you can go to https://robotic.mobi with safari browser.

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