-
Notifications
You must be signed in to change notification settings - Fork 5
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 on implementation of SVG-Images from Wikimedia Commons #385
Comments
The image seems to be of type
But lobid's imagesproxy tries to parse it, based on the file's name, as What we can do: change the As a hip-shot I would say b) is easier to do, but then we might not fix all scenarios. On the other hand, a) may also be problematic, if not all images have a |
+1 for b) @dr0i Where does the parameter come from? Sorry for the delay. Somehow i missed this issue. |
SVGs don't have a size. Requesting SVGs using |
Parameter comes from |
Otherwise, it just needs this minor adjustment hbz/lobid@a5d0b23 in order to get the correct content type? But maybe i'm on the wrong track. |
@Phu2 I like your proposal also. Please merge and deploy 👍 |
Deployed to stage. Does not work yet: https://lobid.org/imagesproxy?url=https://commons.wikimedia.org/wiki/Special:FilePath/ZHB%20Luzern%20Logo%20farbig.svg?width=270 @LibrErli @dr0i Please confirm. I'm happy to deploy to production afterwards. And sorry again for the delay! |
+1 |
Deployed to production. Fixed by hbz/lobid@e1083c9 (sorry, used wrong reference in commit messgae) |
E.g. ZHB Luzern retrieves as example image the logo image stored as *svg on Wikimedia Commons. It seems that the lobid-imageproxy has troubles with implementing svg correctly.
The text was updated successfully, but these errors were encountered: