-
Notifications
You must be signed in to change notification settings - Fork 3
/
properties.imageslim.php
100 lines (97 loc) · 2.11 KB
/
properties.imageslim.php
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?php
/**
* Default properties for the imageSlim snippet
* @author Jason Grant
*
* @package imageslim
* @subpackage build
*/
$properties = array(
array(
'name' => 'fixAspect',
'desc' => 'prop_is.fixAspect_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => '1',
'area' => 'Dimensions',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'maxHeight',
'desc' => 'prop_is.maxHeight_desc',
'type' => 'integer',
'options' => '',
'value' => '',
'area' => 'Dimensions',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'maxWidth',
'desc' => 'prop_is.maxWidth_desc',
'type' => 'integer',
'options' => '',
'value' => '',
'area' => 'Dimensions',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'scale',
'desc' => 'prop_is.scale_desc',
'type' => 'textfield',
'options' => '',
'value' => '1',
'area' => 'Dimensions',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'remoteImages',
'desc' => 'prop_is.remoteImages_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => '0',
'area' => 'Remote Images',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'remoteTimeout',
'desc' => 'prop_is.remoteTimeout_desc',
'type' => 'integer',
'options' => '',
'value' => '5',
'area' => 'Remote Images',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'convertThreshold',
'desc' => 'prop_is.convertThreshold_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'phpthumbof',
'desc' => 'prop_is.phpthumbof_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'q',
'desc' => 'prop_is.q_desc',
'type' => 'integer',
'options' => '',
'value' => '',
'lexicon' => 'imageslim:default'
),
array(
'name' => 'debug',
'desc' => 'prop_is.debug_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => '0',
'lexicon' => 'imageslim:default'
)
);
return $properties;