-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmtls.features.inc
53 lines (51 loc) · 1.16 KB
/
cmtls.features.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* Implementation of hook_ctools_plugin_api().
*/
function cmtls_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => 1);
}
}
/**
* Implementation of hook_imagecache_default_presets().
*/
function cmtls_imagecache_default_presets() {
$items = array(
'content' => array(
'presetname' => 'content',
'actions' => array(
'0' => array(
'weight' => '0',
'module' => 'imagecache',
'action' => 'imagecache_scale',
'data' => array(
'width' => '500',
'height' => '100%',
'upscale' => 0,
),
),
),
),
'original' => array(
'presetname' => 'original',
'actions' => array(),
),
'small' => array(
'presetname' => 'small',
'actions' => array(
'0' => array(
'weight' => '0',
'module' => 'imagecache',
'action' => 'imagecache_scale_and_crop',
'data' => array(
'width' => '55',
'height' => '55',
),
),
),
),
);
return $items;
}