[Bug] View photos by shared link

Good afternoon.
When I provide access to a folder with a photo by reference, a person clicking on the link and clicking on the picture immediately downloads the picture.
How to make it possible to view a picture?
If I click on a picture in this folder in my account, the picture opens for viewing.

Wich Nextcloud version are you on ? This functionnality disappeared with NC18 and then reappeard with the 18.0.4.

Now version of NС 18.0.3 :grinning:
It turns out I have a night of updates today :laughing:

On my 18.0.4 instance it does not work :cry:

I confirm after upgrading to 18.0.4 the ability to view photos via a shared link has started to work

It does not work with shared link and with password.
Clicking on the link leads to an animated arrow and the photo never shows.

Operating system: Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64

Webserver: Apache (apache2handler)

Database: mysql 10.3.22

PHP version: 7.3.14-1~deb10u1

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, sodium, standard, apache2handler, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, msgpack, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, memcached, Zend OPcache

Nextcloud version: 18.0.6 - 18.0.6.0

With Nextcloud 19 is works.

https://nc.nl.tab.digital/s/2T3DZW5zqYBm85K
Password: eseYaEaz

With Nextcloud 18.0.4 it also works.

https://nextcloud-demo.rackspeed-cloud.de/index.php/s/cciqxCtQfQpN37s
Password: kxpsJMMJ

Perhaps the link will deleted in the next hour.
Test it on your own:

https://nextcloud-demo.rackspeed-cloud.de/
User: nextcloud-demo
Password: nextcloud-demo

I think it is a bug in newer version of Nextcloud 18.
Please make a bug report in GitHub if it is the newest version of Nextcloud 18.

After test, even the share without passwork does not work properly…
The directory is correctly showed.
File can be downloaded.
But when clicking on photo they never show up…

I tested one of your link and it works…

I will make a bug report.

See also : https://github.com/nextcloud/server/issues/21615

1 Like

Yes please do on github.
As mentioned, this was fixed in 18.0.4 iirc

EDIT: issue created in https://github.com/nextcloud/server/issues/21615

2 Likes