Content
View differences
Updated by Andrej Sandorf about 1 year ago
### Steps to reproduce
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Place a very tall image in the description field of a work package.
2. Export the view to PDF report.
3. Observe the tall image is not correctly scaled to keep it within the PDF page margins. Image width appears to be honoured over height.
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* The tall image's lower end spills out over the PDF page margin because the image width appears to be honoured over height.
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. A very tall image should have its height AND width taken into consideration, not just the width.
###
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/326664/content">
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* Packaged installation
* Ubuntu
**OpenProject version**
OpenProject 15.2.1
**Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Other (Vivaldi)
**Operating System**
* [x] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_English_
2. Export the view to PDF report.
3. Observe the tall image is not correctly scaled to keep it within the PDF page margins. Image width appears to be honoured over height.
### What is the buggy behavior?
### What is the expected behavior?
###
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/326664/content">
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* Packaged installation
* Ubuntu
**OpenProject version**
OpenProject 15.2.1
**Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Other (Vivaldi)
**Operating System**
* [x] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_English_