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

It cant load svg images? #263

Open
gerroon opened this issue May 24, 2016 · 9 comments
Open

It cant load svg images? #263

gerroon opened this issue May 24, 2016 · 9 comments

Comments

@gerroon
Copy link

gerroon commented May 24, 2016

Hi

I added a WIkipedia entry to Wallabag v2. The article looks fine with the svg image in the browser but the image is missing with a broken rectangle in the app window.

thanks

@Strubbl
Copy link
Contributor

Strubbl commented May 24, 2016

Can you please provide an example article?

@gerroon
Copy link
Author

gerroon commented May 24, 2016

Try this one
https://en.wikipedia.org/wiki/Multiverse

See if you can see "https://en.wikipedia.org/wiki/Multiverse#/media/File:Multiverse_-_level_II.svg" in the app. It shows up in the wallabag server page

@di72nn
Copy link
Member

di72nn commented May 24, 2016

@tcitworld
Copy link
Member

Indeed, same for me. Do you have an png or svg picture inside your article in the web interface ?

@di72nn
Copy link
Member

di72nn commented Sep 30, 2016

@gerroon do you still experience the problem?

@di72nn
Copy link
Member

di72nn commented Nov 30, 2016

Please reopen if you can reproduce the problem.

@di72nn di72nn closed this as completed Nov 30, 2016
@Skyr
Copy link

Skyr commented Oct 19, 2018

I'm running Wallabag from the most recent Docker image. The aforementioned wikipedia article imports an png version of the image, and when I try to import this page http://www.lighterra.com/papers/modernmicroprocessors/, all svg images are missing. So there still seems to be an issue...

@Strubbl Strubbl reopened this Nov 23, 2018
@sztanpet
Copy link

sztanpet commented Sep 5, 2019

i have the same problem, but the image doesnt show up at all with https://lwn.net/SubscriberLink/798258/e9f092b0169751a8/

[2019-09-05 19:42:57] graby.INFO: Filtering HTML to remove XSS [] []
[2019-09-05 19:42:57] app.DEBUG: DownloadImages: Folder used for that Entry id {"folder":"/home/sztanpet/wallabag/web/assets/images/9/8/98668cc2","entryId":2253} []
[2019-09-05 19:42:57] app.DEBUG: DownloadImages: working on image: https://static.lwn.net/images/2019/borkman-key.svg [] []
[2019-09-05 19:42:58] app.DEBUG: DownloadImages: Checking extension {"ext":"svg","header":"image/svg+xml"} []
[2019-09-05 19:42:58] app.ERROR: DownloadImages: Processed image with not allowed extension. Skipping: https://static.lwn.net/images/2019/borkman-key.svg [] []
[2019-09-05 19:42:58] app.ERROR: DownloadImages: Error while regenerating image {"path":"/home/sztanpet/wallabag/web/assets/images/9/8/98668cc2/74fc250a."} []
[2019-09-05 19:42:58] app.DEBUG: DownloadImagesSubscriber: updated html. [] []

@Strubbl
Copy link
Contributor

Strubbl commented Sep 7, 2019

Thanks for the log. This looks like an issue with wallabag server and not the app.
Which wallabag version are you using?

Also, the link you provided has no SVG image in the article. At least i cannot not find the image, which wallabag wants to fetch in the LWN article.

If you can provide the LWN link where that SVG is not cached and you are using the latest wallabag release, we can reopen wallabag/wallabag#3253

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

No branches or pull requests

6 participants