nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Misleading error when Adblock Origin "block large media" is enabled #492

Open rtaibah opened 5 years ago

rtaibah commented 5 years ago

Bug report

I have Adblock Origin with the 'block large media elements' feature enabled. The regular behaviour with this features on all other websites is that the image is not loaded, and instead a red bordered box is loaded indicating that there is an image here. Clicking on the box loads the image.

With Next Cloud I get a notification with the following error:

Error! Could not generate a preview of this file.
Please go to the next slide while we remove this image from the slideshow.

Took me an hour to debug it and find that the culprit was Adblock Origin.

Steps to reproduce block large media elements on websites enabled.

  1. Install Adblock Origin
  2. Enable 'Block large media elements' in settings
  3. Load an image that is larger than the specified settings.