viewer icon indicating copy to clipboard operation
viewer copied to clipboard

svg files not previewed under public share

Open brainchild0 opened this issue 4 years ago • 1 comments

For public shares of bitmap files, Nextcloud displays a preview to anonymous visitors just as for regular users who are signed in. For SVG files, however, the preview is only available to regular users not using a public share.

To reproduce, place a valid SVG document in a server folder, Navigate to it using the Files application, and notice that a preview is available. Then create a public share. Copy the link, sign out, and visit the link. The interface allows downloading but not previewing the file.


Operating system: Linux Web server: Apache Database: MariaDB PHP version: 7.3.24 Nextcloud version: 20.0.2

brainchild0 avatar Dec 01 '20 10:12 brainchild0

I'm wondering if it's easy to fix but so low-priority it'll never be done or if it's a bit more complex than it seems and/or more information is required.

Thanks for documenting the issue BTW @brainchild0.

kbftech avatar Dec 30 '21 03:12 kbftech