Skip to content

Images on single-file public shares are distorted #2534

Open
@bueroblanko

Description

Describe the bug
When i share an image from my nextcloud via a public link and visit this link on my smartphone, the image is displayed disproportionately compressed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to your nextcloud
  2. Click on a random landscape image
  3. create a public link
  4. copy link to smartphone and open it there

Expected behavior
the image should have fullwidth while the height depends on the image format

Screenshots
original image in correct proportions: https://cloud.bueroblanko.de/s/EXadK7DqjgCadgy
expected view on mobile: https://cloud.bueroblanko.de/s/xx3Fi5EnBib3C9F
actual incorrect view on mobile: https://cloud.bueroblanko.de/s/StmEm7W77MNDyyF

Desktop (please complete the following information):
on desktop the image is displayed for all browsers correctly

Smartphone (please complete the following information):
on smartphone the issue exists on

  • chrome browser
  • safari
  • firefox

I hope this information helps to understand my issue and anyone can help with this

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.1. to developAccepted and waiting to be taken care ofbugSomething isn't workingregressionRegression of a previous working feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions