Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background-image of transparent image previews doesn't repeat and gets stretched #7486

Closed
EtzBetz opened this issue Dec 13, 2017 · 4 comments

Comments

@EtzBetz
Copy link

EtzBetz commented Dec 13, 2017

Steps to reproduce

  1. Upload transparent image to nextcloud
  2. Open the uploaded image in the image preview
  3. Hover over the image to enable the background-image

Expected behaviour

The transparent part of the image should be covered by those squares that indicate transparency (I did view this by disabling background-size in the CSS inspector, but that only fixes it until you hover again):
screenshot_2017-12-13 15 05 06_i9vr5s

Actual behaviour

The resource-image is stretched as big as the image is:
screenshot_2017-12-13 15 02 44_dufbkg

Server configuration

Operating system: Ubuntu Server 16.04 LTS

Web server: Apache 2

Database: MySQL 5.7.20

PHP version: 7.0.22

Nextcloud version: 12.0.4

Updated from an older Nextcloud/ownCloud or fresh install: Yes, updated from some old ownCloud to nextCloud 9/10, then 11, 12 and now 12 > 12.0.4.

Where did you install Nextcloud from:
nextcloud.com

Client configuration

Browser: Chrome 62.0.3202.94 and Firefox 57.0.2

Operating system: macOS 10.13.1 (17B1003), Windows 10 1709

@EtzBetz EtzBetz changed the title background-image of transparent image previews doesn't repeat background-image of transparent image previews doesn't repeat and gets stretched Dec 13, 2017
@MorrisJobke
Copy link
Member

looks like a gallery thing.

cc @pixelipo @skjnldsv @oparoz

@oparoz
Copy link
Member

oparoz commented Dec 13, 2017

Would probably be best to open in nextcloud/gallery

@MorrisJobke
Copy link
Member

Fix is in nextcloud/gallery#341

@MorrisJobke
Copy link
Member

Will be fixed in 13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants