Skip to content

Commit

Permalink
Files preset: add image option #2272
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Hoffmann committed Dec 14, 2019
1 parent 8de13a8 commit 9cba880
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/presets/files.php
Expand Up @@ -7,6 +7,7 @@
'type' => 'files',
'layout' => $props['layout'] ?? 'cards',
'template' => $props['template'] ?? null,
'image' => $props['image'] ?? null,
'info' => '{{ file.dimensions }}'
]
];
Expand All @@ -15,7 +16,8 @@
unset(
$props['headline'],
$props['layout'],
$props['template']
$props['template'],
$props['image']
);

return $props;
Expand Down

0 comments on commit 9cba880

Please sign in to comment.