Skip to content

Commit

Permalink
HSDO-955 added new header image style (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Knox authored and pookmish committed Aug 4, 2017
1 parent 6deb466 commit 5da51ad
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions stanford_image_styles.features.inc
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,26 @@ function stanford_image_styles_image_default_styles() {
),
);

// Exported image style: header_370_x_240.
$styles['header_370_x_240'] = array(
'label' => 'Header (scale and crop 370 x 240)',
'effects' => array(
45 => array(
'name' => 'image_scale_and_crop',
'data' => array(
'width' => 740,
'height' => 480,
),
'weight' => 1,
),
46 => array(
'name' => 'image_hires',
'data' => array(),
'weight' => 2,
),
),
);

// Exported image style: header_scale_850x400.
$styles['header_scale_850x400'] = array(
'label' => 'Header (Scale 850x400)',
Expand Down
1 change: 1 addition & 0 deletions stanford_image_styles.info
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ features[image][] = full_width_banner_shorts_scale_and_crop_1600x400
features[image][] = full_width_banner_tall
features[image][] = half-page-profile
features[image][] = header_370_x_170
features[image][] = header_370_x_240
features[image][] = header_scale_850x400
features[image][] = huge-landscape
features[image][] = icon-profile
Expand Down

0 comments on commit 5da51ad

Please sign in to comment.