PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / image-filter / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/image-filter/block.json

164 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/image-filter",
5 "title": "Image Filter",
6 "category": "bkbg-media",
7 "icon": "format-image",
8 "description": "Upload an image and apply real-time CSS filter adjustments — brightness, contrast, saturation, hue, blur, sepia, grayscale, and more. Choose from presets or build a custom look. Optionally expose live filter sliders to visitors.",
9 "keywords": [
10 "image",
11 "filter",
12 "photo",
13 "css",
14 "effects",
15 "brightness",
16 "contrast",
17 "instagram",
18 "preset"
19 ],
20 "textdomain": "blockenberg",
21 "editorScript": "bkbg-image-filter-editor",
22 "style": "bkbg-image-filter-style",
23 "viewScript": "bkbg-image-filter-frontend",
24 "supports": {
25 "html": false,
26 "anchor": true,
27 "className": true,
28 "align": [
29 "wide",
30 "full"
31 ]
32 },
33 "attributes": {
34 "imageUrl": {
35 "type": "string",
36 "default": ""
37 },
38 "imageId": {
39 "type": "number",
40 "default": 0
41 },
42 "imageAlt": {
43 "type": "string",
44 "default": ""
45 },
46 "caption": {
47 "type": "string",
48 "default": ""
49 },
50 "preset": {
51 "type": "string",
52 "default": "none"
53 },
54 "brightness": {
55 "type": "number",
56 "default": 100
57 },
58 "contrast": {
59 "type": "number",
60 "default": 100
61 },
62 "saturation": {
63 "type": "number",
64 "default": 100
65 },
66 "hueRotate": {
67 "type": "number",
68 "default": 0
69 },
70 "blur": {
71 "type": "number",
72 "default": 0
73 },
74 "sepia": {
75 "type": "number",
76 "default": 0
77 },
78 "grayscale": {
79 "type": "number",
80 "default": 0
81 },
82 "invert": {
83 "type": "number",
84 "default": 0
85 },
86 "opacity": {
87 "type": "number",
88 "default": 100
89 },
90 "borderRadius": {
91 "type": "number",
92 "default": 12
93 },
94 "maxWidth": {
95 "type": "number",
96 "default": 0
97 },
98 "objectFit": {
99 "type": "string",
100 "default": "cover"
101 },
102 "imageHeight": {
103 "type": "number",
104 "default": 0
105 },
106 "blendMode": {
107 "type": "string",
108 "default": "normal"
109 },
110 "showControls": {
111 "type": "boolean",
112 "default": false
113 },
114 "showReset": {
115 "type": "boolean",
116 "default": true
117 },
118 "showPresets": {
119 "type": "boolean",
120 "default": true
121 },
122 "transitionMs": {
123 "type": "number",
124 "default": 300
125 },
126 "overlayColor": {
127 "type": "string",
128 "default": ""
129 },
130 "overlayOpacity": {
131 "type": "number",
132 "default": 0
133 },
134 "captionColor": {
135 "type": "string",
136 "default": "#555555"
137 },
138 "captionBg": {
139 "type": "string",
140 "default": ""
141 },
142 "borderColor": {
143 "type": "string",
144 "default": ""
145 },
146 "captionFontSize": {
147 "type": "number",
148 "default": 13
149 },
150 "captionFontWeight": {
151 "type": "number",
152 "default": 400
153 },
154 "captionLineHeight": {
155 "type": "number",
156 "default": 1.4
157 },
158 "captionTypo": {
159 "type": "object",
160 "default": {}
161 }
162 }
163 }
164