nextcloud / viewer

🖼 Simple file viewer with slideshow for media
GNU Affero General Public License v3.0
95 stars 55 forks source link

svg files not previewed under public share #959

Open brainchild0 opened 3 years ago

brainchild0 commented 3 years ago

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

kbftech commented 2 years ago

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.