Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Checkerboard behind transparent images not repeated but streched #161

Closed
jaller94 opened this issue Sep 15, 2016 · 2 comments
Closed

Checkerboard behind transparent images not repeated but streched #161

jaller94 opened this issue Sep 15, 2016 · 2 comments

Comments

@jaller94
Copy link

Bug report

Steps to reproduce

  1. Upload a transparent image onto your Nextcloud.
  2. View it in the Gallery app.
  3. Hover it with your mouse/cursor.

Expected behaviour

The CSS background image should be repeated so it becomes a checkerboard. This is defined here:

background: black url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAMFBMVEX/AAD/AP8AAP8A//8A/wD//wB/AAB/AH8AAH8Af38AfwCCfwAAAAAZGRkzMzNMTEy64p6SAAAAF0lEQVQI12P4DwRngICBQgaIAHEoZAAASHBywR1kvCwAAAAASUVORK5CYII=) repeat;

expected

Actual behaviour

The CSS background-image is streched.

A local style has been applied by some JavaScript, setting the background-size attribute. This causes the background image to be streched.
actual

Server configuration

Nextcloud version: 10.0.0

Gallery version: 15.0.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 9.0.53

Where did you install Nextcloud from: nextcloud.com

@oparoz
Copy link
Member

oparoz commented Oct 2, 2016

Thanks for the report. This is due to the library that we use which takes the original div and zooms in and out.
Hopefully this will be fixed once we change slideshow engine.

@skjnldsv
Copy link
Member

skjnldsv commented Sep 3, 2019

Superseded by #540

@skjnldsv skjnldsv closed this as completed Sep 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants