PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 2.32
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v2.32
3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 2.44 All 141 releases
photonic / options / lightbox-options.php

lightbox-options.php in Photonic Gallery & Lightbox for Flickr, SmugMug & Others 2.32, at options/lightbox-options.php

390 lines 12.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 global $photonic_lightbox_options;
4
5 $photonic_lightbox_options = [
6 ['name' => 'Common',
7 'desc' => 'Control settings for all Lightboxes',
8 'category' => 'lb-settings',
9 'type' => 'section',],
10
11 ['name' => 'Autoplay mode',
12 'desc' => "Selecting this will make your lightbox launch in an autoplay mode automatically upon clicking (See <a href='https://aquoid.com/plugins/photonic/third-party-lightboxes/' target='_blank'>list of supported lightboxes</a>).",
13 'id' => 'slideshow_mode',
14 'grouping' => 'lb-settings',
15 'type' => 'checkbox',
16 ],
17
18 ['name' => 'Autoplay mode interval',
19 'desc' => 'If autoplay is on, this will control the interval between slides.',
20 'id' => 'slideshow_interval',
21 'grouping' => 'lb-settings',
22 'type' => 'text',
23 'hint' => 'Please enter a time in milliseconds',
24 ],
25
26 ['name' => 'No Looping',
27 'desc' => 'Selecting this will prevent the lightbox from looping back to the start when it reaches the end. Looping can be controlled only in lightboxes that have a setting for it.',
28 'id' => 'lightbox_no_loop',
29 'grouping' => 'lb-settings',
30 'type' => 'checkbox',
31 ],
32
33 ['name' => "Deep Linking",
34 'desc' => "If enabled, Photonic will generate a unique URL when an photo's thumbnail is clicked.",
35 'id' => "deep_linking",
36 'grouping' => 'lb-settings',
37 'type' => 'select',
38 'options' => [
39 "none" => "No deeplinking",
40 "no-history" => "Enable deeplinking, but don't add links for clicked images to browser history",
41 "yes-history" => "Enable deeplinking, and add links for clicked images to browser history",
42 ],
43 ],
44
45 ['name' => "Social media integration",
46 'desc' => "If deep linking is enabled, Photonic shows social media buttons on the lightbox to facilitate sharing. Select this option to disable social sharing.",
47 'id' => "social_media",
48 'grouping' => 'lb-settings',
49 'type' => 'checkbox',
50 ],
51
52 ['name' => 'Colorbox',
53 'desc' => 'Colorbox Settings',
54 'category' => 'lb-cb-settings',
55 'type' => 'section',],
56
57 ['name' => 'Colorbox Theme',
58 'desc' => "Colorbox lets you pick one of the following themes. See examples <a href='http://www.jacklmoore.com/colorbox/' target='_blank'>here</a>:",
59 'id' => 'cbox_theme',
60 'grouping' => 'lb-cb-settings',
61 'type' => 'select',
62 'options' => [
63 '1' => 'Default',
64 '2' => 'Style 2',
65 '3' => 'Style 3',
66 '4' => 'Style 4',
67 '5' => 'Style 5',
68 'theme' => 'Use a skin defined in your theme (requires the files to be present in the scripts/colorbox folder within your theme directory).',
69 ]
70 ],
71
72 ['name' => 'Transition effect',
73 'desc' => 'Specify the transition effect to be used when Colorbox is displaying a picture',
74 'id' => 'cb_transition_effect',
75 'grouping' => 'lb-cb-settings',
76 'type' => 'select',
77 'options' => [
78 'elastic' => 'Elastic',
79 'fade' => 'Fade',
80 'none' => 'None',
81 ]
82 ],
83
84 ['name' => 'Transition speed',
85 'desc' => 'Specify the speed for the above transition effect, in milliseconds',
86 'id' => 'cb_transition_speed',
87 'grouping' => 'lb-cb-settings',
88 'type' => 'text'
89 ],
90
91 ['name' => 'Fancybox 1 / 2 / 3',
92 'desc' => 'Fancybox Settings',
93 'category' => 'lb-fb-settings',
94 'type' => 'section',],
95
96 ['name' => "Position of title in FancyBox slideshow",
97 'desc' => "Fancybox lets you show the title of the image in different positions. Where do you want it?",
98 'id' => "fbox_title_position",
99 'grouping' => "lb-fb-settings",
100 'type' => 'select',
101 'options' => [
102 "outside" => "Outside the slide box",
103 "inside" => "Inside the slide box",
104 "over" => "Over the image in the slide box",
105 ]
106 ],
107
108 ['name' => 'Fancybox3 Transition effect',
109 'desc' => 'Specify the transition effect to be used when Fancybox3 is displaying a picture.',
110 'id' => 'fb3_transition_effect',
111 'grouping' => 'lb-fb-settings',
112 'type' => 'select',
113 'options' => [
114 'fade' => 'Fade',
115 'slide' => 'Slide',
116 'circular' => 'Circular',
117 'tube' => 'Tube',
118 'zoom-in-out' => 'Zoom in and out',
119 'rotate' => 'Rotate',
120 ]
121 ],
122
123 ['name' => 'Fancybox3 Transition duration',
124 'desc' => 'How fast or slow do you want the transition?',
125 'id' => "fb3_transition_speed",
126 'grouping' => 'lb-fb-settings',
127 'type' => 'text',
128 'hint' => 'Integer, in milliseconds'],
129
130 ['name' => "Fancybox3 - Hide Zoom Button",
131 'desc' => "The Zoom button is enabled by default. Select to hide it.",
132 'id' => "fb3_disable_zoom",
133 'grouping' => "lb-fb-settings",
134 'type' => 'checkbox'
135 ],
136
137 ['name' => "Fancybox3 - Hide Slideshow Button",
138 'desc' => "The Slideshow button is enabled by default. Select to hide it.",
139 'id' => "fb3_disable_slideshow",
140 'grouping' => "lb-fb-settings",
141 'type' => 'checkbox'
142 ],
143
144 ['name' => "Fancybox3 - Show FullScreen Button",
145 'desc' => "The full-screen button is disabled by default. Select to show it.",
146 'id' => "fb3_show_fullscreen",
147 'grouping' => "lb-fb-settings",
148 'type' => 'checkbox'
149 ],
150
151 ['name' => "Fancybox3 - auto-start FullScreen",
152 'desc' => "Automatically launch Fancybox3 in FullScreen mode.",
153 'id' => "enable_fb3_fullscreen",
154 'grouping' => "lb-fb-settings",
155 'type' => 'checkbox'
156 ],
157
158 ['name' => "Fancybox3 - Show Download Button",
159 'desc' => "The Download button is disabled by default. Select to show it.",
160 'id' => "fb3_enable_download",
161 'grouping' => "lb-fb-settings",
162 'type' => 'checkbox'
163 ],
164
165 ['name' => "Fancybox3 - Hide Thumbnails Button",
166 'desc' => "The Thumbnails button is enabled by default. Select to hide it.",
167 'id' => "fb3_hide_thumbs",
168 'grouping' => "lb-fb-settings",
169 'type' => 'checkbox'
170 ],
171
172 ['name' => "Fancybox3 - auto-open Thumbnails",
173 'desc' => "Automatically open Fancybox3 Thumbnails.",
174 'id' => "enable_fb3_thumbnail",
175 'grouping' => "lb-fb-settings",
176 'type' => 'checkbox'
177 ],
178
179 ['name' => "Fancybox3 - Disable Right Click",
180 'desc' => "While this does not protect from truly determined users, it adds a deterrent for downloading.",
181 'id' => "fb3_disable_right_click",
182 'grouping' => "lb-fb-settings",
183 'type' => 'checkbox'
184 ],
185
186 ['name' => 'Lightcase',
187 'desc' => 'Lightcase Settings',
188 'category' => 'lb-lc-settings',
189 'type' => 'section',],
190
191 ['name' => 'Transition effect',
192 'desc' => 'Specify the transition effect to be used when Lightcase is displaying a picture. See demos <a href="http://cornel.bopp-art.com/lightcase/" target="_blank">here</a>.',
193 'id' => 'lc_transition_effect',
194 'grouping' => 'lb-lc-settings',
195 'type' => 'select',
196 'options' => [
197 'elastic' => 'Elastic',
198 'fade' => 'Fade',
199 'fadeInline' => 'Fade inline',
200 'scrollTop' => 'Scroll Top',
201 'scrollBottom' => 'Scroll Bottom',
202 'scrollLeft' => 'Scroll Left',
203 'scrollRight' => 'Scroll Right',
204 'scrollHorizontal' => 'Scroll Horizontal',
205 'scrollVertical' => 'Scroll Vertical',
206 'none' => 'None',
207 ]
208 ],
209
210 ['name' => 'Transition speed-in',
211 'desc' => 'How fast or slow do you want the transition, going in?',
212 'id' => "lc_transition_speed_in",
213 'grouping' => 'lb-lc-settings',
214 'type' => 'text',
215 'hint' => 'Integer, in milliseconds'],
216
217 ['name' => 'Transition speed-out',
218 'desc' => 'How fast or slow do you want the transition, going out?',
219 'id' => "lc_transition_speed_out",
220 'grouping' => 'lb-lc-settings',
221 'type' => 'text',
222 'hint' => 'Integer, in milliseconds'],
223
224 ['name' => 'Flexible Sizes',
225 'desc' => 'By default Lightcase does not show your images at more than 800px&times;500px. Selecting this option will let it automatically adjust your image according to your screen size.',
226 'id' => "lc_enable_shrink",
227 'grouping' => "lb-lc-settings",
228 'type' => 'checkbox'
229 ],
230
231 ['name' => 'LightGallery',
232 'desc' => 'LightGallery Settings',
233 'category' => 'lb-lg-settings',
234 'type' => 'section',],
235
236 ['name' => 'Add Additional Transitions',
237 'desc' => 'LightGallery supports the "fade" and "slide" transition effects by default. Additional transitions from the dropdown below can be enabled by addition of a script (+39KB). See demos <a href="http://sachinchoolur.github.io/lightGallery/demos/transitions.html" target="_blank">here</a>.',
238 'id' => "enable_lg_transitions",
239 'grouping' => "lb-lg-settings",
240 'type' => 'checkbox'
241 ],
242
243 ['name' => 'Transition effect',
244 'desc' => 'If the above is checked, specify the transition effect to be used when LightGallery is displaying a picture. See demos <a href="http://sachinchoolur.github.io/lightGallery/demos/transitions.html" target="_blank">here</a>.',
245 'id' => 'lg_transition_effect',
246 'grouping' => 'lb-lg-settings',
247 'type' => 'select',
248 'options' => [
249 'lg-slide' => 'lg-slide',
250 'lg-fade' => 'lg-fade',
251 'lg-zoom-in' => 'lg-zoom-in',
252 'lg-zoom-in-big' => 'lg-zoom-in-big',
253 'lg-zoom-out' => 'lg-zoom-out',
254 'lg-zoom-out-big' => 'lg-zoom-out-big',
255 'lg-zoom-in-out' => 'lg-zoom-in-out',
256 'lg-soft-zoom' => 'lg-soft-zoom',
257 'lg-scale-up' => 'lg-scale-up',
258 'lg-slide-circular' => 'lg-slide-circular',
259 'lg-slide-circular-vertical' => 'lg-slide-circular-vertical',
260 'lg-slide-vertical' => 'lg-slide-vertical',
261 'lg-slide-vertical-growth' => 'lg-slide-vertical-growth',
262 'lg-slide-skew-only' => 'lg-slide-skew-only',
263 'lg-slide-skew-only-rev' => 'lg-slide-skew-only-rev',
264 'lg-slide-skew-only-y' => 'lg-slide-skew-only-y',
265 'lg-slide-skew-only-y-rev' => 'lg-slide-skew-only-y-rev',
266 'lg-slide-skew' => 'lg-slide-skew',
267 'lg-slide-skew-rev' => 'lg-slide-skew-rev',
268 'lg-slide-skew-cross' => 'lg-slide-skew-cross',
269 'lg-slide-skew-cross-rev' => 'lg-slide-skew-cross-rev',
270 'lg-slide-skew-ver' => 'lg-slide-skew-ver',
271 'lg-slide-skew-ver-rev' => 'lg-slide-skew-ver-rev',
272 'lg-slide-skew-ver-cross' => 'lg-slide-skew-ver-cross',
273 'lg-slide-skew-ver-cross-rev' => 'lg-slide-skew-ver-cross-rev',
274 'lg-lollipop' => 'lg-lollipop',
275 'lg-lollipop-rev' => 'lg-lollipop-rev',
276 'lg-rotate' => 'lg-rotate',
277 'lg-rotate-rev' => 'lg-rotate-rev',
278 'lg-tube' => 'lg-tube',
279 ]
280 ],
281
282 ['name' => 'Transition speed',
283 'desc' => 'How fast or slow do you want the transition to go?',
284 'id' => "lg_transition_speed",
285 'grouping' => 'lb-lg-settings',
286 'type' => 'text',
287 'hint' => 'Integer, in milliseconds'],
288
289 ['name' => "Add Autoplay",
290 'desc' => "Enable Lightgallery Autoplay capability (+3KB).",
291 'id' => "enable_lg_autoplay",
292 'grouping' => "lb-lg-settings",
293 'type' => 'checkbox'
294 ],
295
296 ['name' => "Add Fullscreen",
297 'desc' => "Enable Lightgallery Fullscreen capability (+2KB).",
298 'id' => "enable_lg_fullscreen",
299 'grouping' => "lb-lg-settings",
300 'type' => 'checkbox'
301 ],
302
303 ['name' => "Add Thumbnail",
304 'desc' => "Enable Lightgallery Thumbnails capability (+8KB).",
305 'id' => "enable_lg_thumbnail",
306 'grouping' => "lb-lg-settings",
307 'type' => 'checkbox'
308 ],
309
310 ['name' => "Add Zoom",
311 'desc' => "Enable Lightgallery Zoom capability (+8KB).",
312 'id' => "enable_lg_zoom",
313 'grouping' => "lb-lg-settings",
314 'type' => 'checkbox'
315 ],
316
317 ['name' => 'Disable download',
318 'desc' => 'Disable the download button that shows up by default for LightGallery',
319 'id' => "disable_lg_download",
320 'grouping' => "lb-lg-settings",
321 'type' => 'checkbox'
322 ],
323
324 ['name' => 'Delay before hiding lightbox bars',
325 'desc' => 'Time to delay before hiding title and navigation bars',
326 'id' => "lg_hide_bars_delay",
327 'grouping' => 'lb-lg-settings',
328 'type' => 'text',
329 'hint' => 'Integer, in milliseconds'],
330
331 ['name' => 'PrettyPhoto',
332 'desc' => 'PrettyPhoto Settings',
333 'category' => 'lb-pp-settings',
334 'type' => 'section',],
335
336 ['name' => "PrettyPhoto Theme",
337 'desc' => "PrettyPhoto lets you pick one of the following themes:",
338 'id' => "pphoto_theme",
339 'grouping' => "lb-pp-settings",
340 'type' => 'select',
341 'options' => [
342 "pp_default" => "Default",
343 "light_rounded" => "Light Rounded",
344 "dark_rounded" => "Dark Rounded",
345 "light_square" => "Light Square",
346 "dark_square" => "Dark Square",
347 "facebook" => "Facebook",
348 ]
349 ],
350
351 ['name' => 'Transition speed',
352 'desc' => 'Specify the transition speed to be used when PrettyPhoto is displaying a picture',
353 'id' => 'pp_animation_speed',
354 'grouping' => 'lb-pp-settings',
355 'type' => 'select',
356 'options' => [
357 'fast' => 'Fast',
358 'slow' => 'Slow',
359 'normal' => 'Normal',
360 ]
361 ],
362
363 ['name' => 'Swipebox',
364 'desc' => 'Swipebox Settings',
365 'category' => 'lb-sb-settings',
366 'type' => 'section',],
367
368 ['name' => 'Bars on Mobile',
369 'desc' => "Show title and navigation bars on mobile devices if Swipebox is the lightbox.",
370 'id' => "enable_swipebox_mobile_bars",
371 'grouping' => 'lb-sb-settings',
372 'type' => 'checkbox'
373 ],
374
375 ['name' => 'Close button on Mobile',
376 'desc' => 'Hide close button on mobile devices.',
377 'id' => 'sb_hide_mobile_close',
378 'grouping' => 'lb-sb-settings',
379 'type' => 'checkbox'
380 ],
381
382 ['name' => 'Delay before hiding bars on Desktop',
383 'desc' => 'Time to delay before hiding title and navigation bars on desktop. Set to 0 to always show the bars',
384 'id' => "sb_hide_bars_delay",
385 'grouping' => 'lb-sb-settings',
386 'type' => 'text',
387 'hint' => 'Integer, in milliseconds'],
388
389 ];
390