Skip to content

Commit 8f3657f

Browse files
author
Marco Pereirinha
committed
Add the default transformation crop for the Gallery
1 parent c8ea23e commit 8f3657f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

php/media/class-gallery.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ class Gallery {
6565
'mode' => 'classic',
6666
'columns' => 1,
6767
),
68+
'transformation' => array(
69+
'crop' => 'fill',
70+
),
6871
'indicatorProps' => array( 'shape' => 'round' ),
6972
'themeProps' => array(
7073
'primary' => '#cf2e2e',

0 commit comments

Comments
 (0)