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

Error with SVG images #402

Open
Kedoper opened this issue Jul 28, 2019 · 2 comments
Open

Error with SVG images #402

Kedoper opened this issue Jul 28, 2019 · 2 comments

Comments

@Kedoper
Copy link

Kedoper commented Jul 28, 2019

Hi, the problem is that you get a 404 error when you try to display an SVG image on a page.
For example, I have such a structure
phpstorm64_9FOqyJXI2X

I specify the path "/img/icons/Twitter_Logo_Blue.svg".
And it turns out that the image is not loaded, and in the browser developer console error 404.

However, if you specify a file in PNG format, it is quietly displayed.

I don't understand what the problem is. Can you help?

Because I'm sure it has to do with Klein

@gbouthenot
Copy link
Contributor

What is your .htaccess / apache configuration for this directory ? Maybe you specify gif/jpg file extension, but no .svg.
Just an idea.

@Kedoper
Copy link
Author

Kedoper commented Jul 28, 2019

What is your .htaccess / apache configuration for this directory ? Maybe you specify gif/jpg file extension, but no .svg.
Just an idea.

In this file I have only this

RewriteEngine On
RewriteRule ^.*$ index.php [NC,L]

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

2 participants