Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#59533] Changing an image size is not reflected in the export

as-opdd1e4eab6a35
diff --git a/app/models/work_package/pdf_export/generator/contracts.yml b/app/models/work_package/pdf_export/generator/contracts.yml
index 97930db5db6..3850d10877b 100644
--- a/app/models/work_package/pdf_export/generator/contracts.yml
+++ b/app/models/work_package/pdf_export/generator/contracts.yml
@@ -211,10 +211,11 @@ codeblock:
margin-bottom: 2mm
image:
- max-width: 50mm
- margin: 2mm
margin-bottom: 3mm
align: "center"
+ caption:
+ size: 8
+ align: "center"
image-classes:
small: