Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions public/js/pimcore/settings/thumbnail/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,16 @@ pimcore.settings.thumbnail.item = Class.create({
xtype: "container",
html: "<small>(" + t("rasterize_svg_info_text") + ")</small>",
style: "margin-bottom: 20px"
}, {
xtype: "checkbox",
name: "useCropBox",
style: "margin-bottom:0",
boxLabel: t("use_cropbox") + " (Ghostscript)",
checked: this.data.useCropBox
}, {
xtype: "container",
html: "<small>(" + t("use_cropbox_info_text") + ")</small>",
style: "margin-bottom: 20px"
}, {
xtype: "checkbox",
name: "preserveAnimation",
Expand Down
4 changes: 4 additions & 0 deletions translations/admin_ext.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ rasterize_svg: Rasterize SVGs
rasterize_svg_info_text: >-
SVGs get automatically rasterized when a transformation other than resize or
scale by width/height is used.
use_cropbox: Use Cropbox
use_cropbox_info_text: >-
Sets the page size to the CropBox rather than the MediaBox, useful to exclude
some margins and non-content areas.
preserve_animation: Preserve animations for GIF
preserve_animation_info_text: >-
Supported transformations are: Frame, Cover, Contain, Resize, ScaleByWidth,
Expand Down