feat: add image gallery content element with configurable columns and backend preview
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: cloonar/imagegallery
|
||||
typeName: cloonar_imagegallery
|
||||
group: default
|
||||
prefixFields: false
|
||||
fields:
|
||||
- identifier: header
|
||||
useExistingField: true
|
||||
- identifier: image
|
||||
type: File
|
||||
properties:
|
||||
allowed: [jpg, jpeg, png, gif, webp]
|
||||
multiple: true
|
||||
useExistingField: true
|
||||
- identifier: columns
|
||||
type: Select
|
||||
renderType: selectSingle
|
||||
default: 1
|
||||
items:
|
||||
- label: LLL:EXT:base/ContentBlocks/ContentElements/imagegallery/language/labels.xlf:columns.1
|
||||
value: 1
|
||||
- label: LLL:EXT:base/ContentBlocks/ContentElements/imagegallery/language/labels.xlf:columns.2
|
||||
value: 2
|
||||
- label: LLL:EXT:base/ContentBlocks/ContentElements/imagegallery/language/labels.xlf:columns.3
|
||||
value: 3
|
||||
- label: LLL:EXT:base/ContentBlocks/ContentElements/imagegallery/language/labels.xlf:columns.5
|
||||
value: 5
|
||||
Reference in New Issue
Block a user