Thanks to visit codestin.com
Credit goes to github.com

Skip to content

documenthandler 2.0 - print images bug #997

@emmafrygne-vbg

Description

@emmafrygne-vbg

Describe the bug
When printing from documenthandler in client, images are missing if the path is realtive: /Upload/lasanvisning_inledning.JPG
If the path is complete the image will appear in the print: https://oversiktsplan-utv.varberg.se/Upload/lasanvisning_inledning.png

To Reproduce
In documenthandler add a picture in a document with a realtive path, example /Upload/lasanvisning_inledning.JPG
Add a picture with a complete path, example https://oversiktsplan-utv.varberg.se/Upload/lasanvisning_inledning.png

In client print from documenthandler and see that only the image with complete path appears.

Expected behavior
We want images with realtive paths to appear in the print. If it's not possible it would be good if the first part of the path could be added to all the relative paths from one source. If we need to change the first part of the path only the source need to be changed, not all the induvidual paths for all pictures or files.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions