--- /dev/null
+/**
+ * Implements hook_image_default_styles().
+ */
+function {{ machine_name }}_image_default_styles() {
+ $styles = array();
+
+ $styles['mymodule_preview'] = array(
+ 'label' => 'My module preview',
+ 'effects' => array(
+ array(
+ 'name' => 'image_scale',
+ 'data' => array('width' => 400, 'height' => 400, 'upscale' => 1),
+ 'weight' => 0,
+ ),
+ array(
+ 'name' => 'image_desaturate',
+ 'data' => array(),
+ 'weight' => 1,
+ ),
+ ),
+ );
+
+ return $styles;
+}