PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 2.26
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v2.26
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.26, at options/lightbox-options.php

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