In general pictures are no problem. The logfile says:
"app":"index","message":"Exception: {\"Exception\":\"OC\\\\PreviewNo
tAvailableException\",\"Message\":\"SVG mimetype cannot be rendered\",\"Code\":0,\"Trace\":\"#0
```
Someone has an idea how to solve this?
thanks and cheers
t.
Does not seem to solve the problem. Any other suggestions? I have a gentoo system here. “svg” use flag is in imagemagick activated. So i don’t think it’s such a problem.
Mime types for typically defined at the server level. I’m not very familiar with Apache any more, but I think you need to add “AddType image/svg+xml svg” to the httpd.conf file.
…oh and i don’t think the error log message i posted has something to do with it. Cleared the logfile and just called the gallery. Nothing in the log. Strange.
Found the solution. I had Content-Security-Policy set in apache vhost which led to:
thumbnail.js?v=204291f…:146 Refused to load the image 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBl…APtMH/AD3j/wC+xR9pg/57x/8AfYooo5UAfaYP+e8f/fYqK5uYDazYmj+438Y9KKKFFXA//9k=' because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-eval' 'unsafe-inline'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.