PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 2.21
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v2.21
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 / photonic-form.php

photonic-form.php in Photonic Gallery & Lightbox for Flickr, SmugMug & Others 2.21, at photonic-form.php

1,259 lines 45.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Contains all fields required on the add / edit forms for the gallery.
4 *
5 * @package Photonic
6 * @subpackage UI
7 */
8
9 global $photonic_wp_title_caption, $photonic_smug_title_caption, $photonic_flickr_title_caption, $photonic_zenfolio_title_caption,
10 $photonic_flickr_thumb_size, $photonic_flickr_main_size, $photonic_smug_thumb_size, $photonic_smug_main_size, $photonic_zenfolio_thumb_size, $photonic_zenfolio_main_size, $photonic_thumbnail_style,
11 $photonic_flickr_media, $photonic_google_media, $photonic_smug_media, $photonic_zenfolio_media, $photonic_instagram_media;
12 $layout = isset($photonic_thumbnail_style) ? $photonic_thumbnail_style : 'square';
13
14 $fields = array(
15 'default' => array(
16 'name' => esc_html__('WP Galleries', 'photonic'),
17 'fields' => array(
18 array(
19 'id' => 'id',
20 'name' => esc_html__('Gallery ID', 'photonic'),
21 'type' => 'text',
22 'req' => true,
23 ),
24
25 array(
26 'id' => 'ids',
27 'name' => esc_html__('Image IDs', 'photonic'),
28 'type' => 'text',
29 'hint' => esc_html__('Comma-separated. You can specify this if there is no Gallery ID specified.', 'photonic'),
30 ),
31
32 array(
33 'id' => 'style',
34 'name' => esc_html__('Display Style', 'photonic'),
35 'type' => 'select',
36 'options' => Photonic::layout_options(true),
37 'hint' => esc_html__('The first four options trigger a slideshow, the rest trigger a lightbox.', 'photonic'),
38 ),
39
40 array(
41 'id' => 'count',
42 'name' => esc_html__('Number of photos to show', 'photonic'),
43 'type' => 'text',
44 ),
45
46 array(
47 'id' => 'more',
48 'name' => esc_html__('"More" button text', 'photonic'),
49 'type' => 'text',
50 'hint' => esc_html__('Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button', 'photonic'),
51 ),
52
53 array(
54 'id' => 'caption',
55 'name' => esc_html__('Photo title / caption', 'photonic'),
56 'type' => 'select',
57 'options' => Photonic::title_caption_options(),
58 'std' => $photonic_wp_title_caption,
59 'hint' => esc_html__('This will be used as the title for your photos.', 'photonic'),
60 ),
61
62 array(
63 'id' => 'columns',
64 'name' => esc_html__('Number of columns', 'photonic'),
65 'type' => 'text',
66 'std' => 3,
67 ),
68
69 array(
70 'id' => 'thumb_width',
71 'name' => esc_html__('Thumbnail width', 'photonic'),
72 'type' => 'text',
73 'std' => 75,
74 'hint' => esc_html__('In pixels', 'photonic')
75 ),
76
77 array(
78 'id' => 'thumb_height',
79 'name' => esc_html__('Thumbnail height', 'photonic'),
80 'type' => 'text',
81 'std' => 75,
82 'hint' => esc_html__('In pixels', 'photonic')
83 ),
84
85 array(
86 'id' => 'thumb_size',
87 'name' => esc_html__('Thumbnail size', 'photonic'),
88 'type' => 'raw',
89 'std' => Photonic::get_image_sizes_selection('thumb_size', false),
90 'hint' => esc_html__('Sizes defined by your theme. Image picked here will be resized to the dimensions above.', 'photonic')
91 ),
92
93 array(
94 'id' => 'slide_size',
95 'name' => esc_html__('Slides image size', 'photonic'),
96 'type' => 'raw',
97 'std' => Photonic::get_image_sizes_selection('slide_size', true),
98 'hint' => esc_html__('Sizes defined by your theme. Shown in a slideshow or lightbox. Avoid loading large sizes to reduce page loads.', 'photonic'),
99 'alt_id' => 'main_size',
100 ),
101
102 array(
103 'id' => 'fx',
104 'name' => esc_html__('Slideshow Effects', 'photonic'),
105 'type' => 'select',
106 'options' => array(
107 'fade' => esc_html__('Fade', 'photonic'),
108 'slide' => esc_html__('Slide', 'photonic'),
109 ),
110 'std' => 'slide',
111 'hint' => esc_html__('Applies to slideshows only', 'photonic')
112 ),
113
114 array(
115 'id' => 'controls',
116 'name' => esc_html__('Slideshow Controls', 'photonic'),
117 'type' => 'select',
118 'options' => array(
119 'hide' => esc_html__('Hide', 'photonic'),
120 'show' => esc_html__('Show', 'photonic'),
121 ),
122 'hint' => esc_html__('Shows Previous and Next buttons on the slideshow.', 'photonic'),
123 ),
124
125 array(
126 'id' => 'timeout',
127 'name' => esc_html__('Time between slides in ms', 'photonic'),
128 'type' => 'text',
129 'std' => 4000,
130 'hint' => esc_html__('Applies to slideshows only', 'photonic')
131 ),
132
133 array(
134 'id' => 'speed',
135 'name' => esc_html__('Time for each transition in ms', 'photonic'),
136 'type' => 'text',
137 'std' => 1000,
138 'hint' => esc_html__('Applies to slideshows only', 'photonic')
139 ),
140 ),
141 ),
142
143 'flickr' => array(
144 'name' => esc_html__('Flickr', 'photonic'),
145 'prelude' => sprintf(esc_html__('You have to define your Flickr API Key under %10$s.%1$s Documentation: %3$sOverall%2$s | %4$sPhotos%2$s | %5$sSingle Photos%2$s | %6$sAlbums (Photosets)%2$s| %7$sGalleries%2$s | %8$sCollections%2$s | %9$sAuthentication%2$s', 'photonic'),
146 '<br/>',
147 '</a>',
148 '<a href="https://aquoid.com/plugins/photonic/flickr/" target="_blank">',
149 '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-photos/" target="_blank">',
150 '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-photo/" target="_blank">',
151 '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-photosets/" target="_blank">',
152 '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-galleries/" target="_blank">',
153 '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-collections/" target="_blank">',
154 '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-authentication/" target="_blank">',
155 '<strong>Photonic &rarr; Settings &rarr; Flickr &rarr; Flickr Settings</strong>'),
156 'fields' => array(
157 array(
158 'id' => 'user_id',
159 'name' => esc_html__('User ID', 'photonic'),
160 'type' => 'text',
161 'req' => true,
162 'hint' => sprintf(esc_html__('Find your user ID from %s.', 'photonic'), '<strong>Photonic &rarr; Helpers</strong>')
163 ),
164
165 array(
166 'id' => 'view',
167 'name' => esc_html__('Display', 'photonic'),
168 'type' => 'select',
169 'options' => array(
170 'photos' => esc_html__('Photos', 'photonic'),
171 'photosets' => esc_html__('Photosets', 'photonic'),
172 'galleries' => esc_html__('Galleries', 'photonic'),
173 'collections' => esc_html__('Collections', 'photonic'),
174 'photo' => esc_html__('Single Photo', 'photonic'),
175 ),
176 'req' => true,
177 ),
178
179 array(
180 'id' => 'photoset_id',
181 'name' => esc_html__('Album ID (Photoset ID)', 'photonic'),
182 'type' => 'text',
183 'hint' => esc_html__('Will show a single photoset if "Display" is set to "Photosets"', 'photonic')
184 ),
185
186 array(
187 'id' => 'gallery_id',
188 'name' => esc_html__('Gallery ID', 'photonic'),
189 'type' => 'text',
190 'hint' => esc_html__('Will show a single gallery if "Display" is set to "Galleries"', 'photonic')
191 ),
192
193 array(
194 'id' => 'collection_id',
195 'name' => esc_html__('Collection ID', 'photonic'),
196 'type' => 'text',
197 'hint' => esc_html__('Will show contents of a single collection if "Display" is set to "Collections"', 'photonic')
198 ),
199
200 array(
201 'id' => 'photo_id',
202 'name' => esc_html__('Photo ID', 'photonic'),
203 'type' => 'text',
204 'hint' => esc_html__('Will show a single photo if "Display" is set to "Single Photo"', 'photonic')
205 ),
206
207 array(
208 'id' => 'filter',
209 'name' => esc_html__('Filter', 'photonic'),
210 'type' => 'text',
211 'hint' => esc_html__('If "Display" is "Photosets" or "Galleries" or "Collections" and you provide a comma-separated list of values here, these entities will be included / excluded based on the next option. Useful if you want to display a single thumbnail for a single photoset / gallery, ignored if Photoset, Gallery or Collection ID is provided', 'photonic')
212 ),
213
214 array(
215 'id' => 'filter_type',
216 'name' => esc_html__('Filter Type', 'photonic'),
217 'type' => 'select',
218 'options' => array(
219 '' => '',
220 'include' => esc_html__('Include above list in results', 'photonic'),
221 'exclude' => esc_html__('Exclude above list from results', 'photonic'),
222 ),
223 ),
224
225 array(
226 'id' => 'media',
227 'name' => esc_html__('Media to Show', 'photonic'),
228 'type' => 'select',
229 'options' => Photonic::media_options(),
230 'std' => $photonic_flickr_media,
231 ),
232
233 array(
234 'id' => 'columns',
235 'name' => esc_html__('Number of columns', 'photonic'),
236 'type' => 'text',
237 ),
238
239 array(
240 'id' => 'tags',
241 'name' => esc_html__('Tags', 'photonic'),
242 'type' => 'text',
243 'hint' => esc_html__('Comma-separated list of tags', 'photonic')
244 ),
245
246 array(
247 'id' => 'tag_mode',
248 'name' => esc_html__('Tag mode', 'photonic'),
249 'type' => 'select',
250 'options' => array(
251 'any' => esc_html__('Any tag', 'photonic'),
252 'all' => esc_html__('All tags', 'photonic'),
253 ),
254 ),
255
256 array(
257 'id' => 'text',
258 'name' => esc_html__('With text', 'photonic'),
259 'type' => 'text',
260 ),
261
262 array(
263 'id' => 'sort',
264 'name' => esc_html__('Sort by', 'photonic'),
265 'type' => 'select',
266 'options' => array(
267 'date-posted-desc' => esc_html__('Date posted, descending', 'photonic'),
268 'date-posted-asc' => esc_html__('Date posted, ascending', 'photonic'),
269 'date-taken-asc' => esc_html__('Date taken, ascending', 'photonic'),
270 'date-taken-desc' => esc_html__('Date taken, descending', 'photonic'),
271 'interestingness-desc' => esc_html__('Interestingness, descending', 'photonic'),
272 'interestingness-asc' => esc_html__('Interestingness, ascending', 'photonic'),
273 'relevance' => esc_html__('Relevance', 'photonic'),
274 ),
275 ),
276
277 array(
278 'id' => 'group_id',
279 'name' => esc_html__('Group ID', 'photonic'),
280 'type' => 'text',
281 ),
282
283 array(
284 'id' => 'per_page',
285 'name' => esc_html__('Number of photos / albums / galleries to show', 'photonic'),
286 'type' => 'text',
287 'hint' => esc_html__('Will show at the most 100 by default, 500 is the maximum', 'photonic'),
288 'alt_id' => 'count',
289 ),
290
291 array(
292 'id' => 'more',
293 'name' => esc_html__('"More" button text', 'photonic'),
294 'type' => 'text',
295 'hint' => esc_html__('Will show a "More" button with the specified text if the number of photos / albums / galleries is higher than the above entry. Leave blank to show no button', 'photonic'),
296 ),
297
298 array(
299 'id' => 'photo_count',
300 'name' => esc_html__('Number of photos to show in overlaid popup', 'photonic'),
301 'type' => 'text',
302 'hint' => sprintf(esc_html__('Applicable for pagination if %1$s is selected. Leave blank to show maximum allowed photos.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
303 ),
304
305 array(
306 'id' => 'photo_more',
307 'name' => esc_html__('"More" button text in overlaid popup', 'photonic'),
308 'type' => 'text',
309 'hint' => sprintf(esc_html__('Applicable for pagination if %1$s is selected. Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
310 ),
311
312 array(
313 'id' => 'privacy_filter',
314 'name' => esc_html__('Privacy filter', 'photonic'),
315 'type' => 'select',
316 'options' => array(
317 '' => esc_html__('None', 'photonic'),
318 '1' => esc_html__('Public photos', 'photonic'),
319 '2' => esc_html__('Private photos visible to friends', 'photonic'),
320 '3' => esc_html__('Private photos visible to family', 'photonic'),
321 '4' => esc_html__('Private photos visible to friends & family', 'photonic'),
322 '5' => esc_html__('Completely private photos', 'photonic'),
323 ),
324 'hint' => esc_html__('Applicable only if Flickr private photos are turned on', 'photonic'),
325 ),
326
327 array(
328 'id' => 'layout',
329 'name' => esc_html__('Layout', 'photonic'),
330 'type' => 'select',
331 'options' => Photonic::layout_options(),
332 'hint' => esc_html__('The first four options trigger a slideshow, the rest trigger a lightbox.', 'photonic'),
333 'std' => $layout,
334 ),
335
336 array(
337 'id' => 'caption',
338 'name' => esc_html__('Photo title / caption', 'photonic'),
339 'type' => 'select',
340 'options' => Photonic::title_caption_options(),
341 'std' => $photonic_flickr_title_caption,
342 'hint' => esc_html__('This will be used as the title for your photos.', 'photonic'),
343 ),
344
345 array(
346 'id' => 'thumb_size',
347 'name' => esc_html__('Thumbnail size', 'photonic'),
348 'type' => 'select',
349 'std' => $photonic_flickr_thumb_size,
350 "options" => array(
351 's' => esc_html__('Small square, 75x75px', 'photonic'),
352 'q' => esc_html__('Large square, 150x150px', 'photonic'),
353 't' => esc_html__('Thumbnail, 100px on longest side', 'photonic'),
354 'm' => esc_html__('Small, 240px on longest side', 'photonic'),
355 'n' => esc_html__('Small, 320px on longest side', 'photonic'),
356 ),
357 'hint' => esc_html__('In pixels, only applicable to square and circular thumbnails', 'photonic')
358 ),
359
360 array(
361 'id' => 'main_size',
362 'name' => esc_html__('Main image size', 'photonic'),
363 'type' => 'select',
364 'std' => $photonic_flickr_main_size,
365 'options' => array(
366 'none' => esc_html__('Medium, 500px on the longest side', 'photonic'),
367 'z' => esc_html__('Medium, 640px on longest side', 'photonic'),
368 'c' => esc_html__('Medium, 800px on longest side', 'photonic'),
369 'b' => esc_html__('Large, 1024px on longest side', 'photonic'),
370 'h' => esc_html__('Large, 1600px on longest side', 'photonic'),
371 'k' => esc_html__('Large, 2048px on longest side', 'photonic'),
372 'o' => esc_html__('Original', 'photonic'),
373 ),
374 ),
375
376 array(
377 'id' => 'collections_display',
378 'name' => esc_html__('Expand Collections', 'photonic'),
379 'type' => 'select',
380 'options' => array(
381 '' => '',
382 'lazy' => esc_html__('Lazy loading', 'photonic'),
383 'expanded' => esc_html__('Expanded upfront', 'photonic'),
384 ),
385 'hint' => sprintf(esc_html__('The Collections API is slow, so, if you are displaying collections, pick %1$slazy loading%2$s if your collections have many albums / photosets.', 'photonic'), '<a href="https://aquoid.com/plugins/photonic/flickr/flickr-collections/">', '</a>'),
386 ),
387
388 array(
389 'id' => 'fx',
390 'name' => esc_html__('Slideshow Effects', 'photonic'),
391 'type' => 'select',
392 'options' => array(
393 '' => '',
394 'fade' => esc_html__('Fade', 'photonic'),
395 'slide' => esc_html__('Slide', 'photonic'),
396 ),
397 'std' => '',
398 'hint' => esc_html__('Applies to slideshows only', 'photonic')
399 ),
400
401 array(
402 'id' => 'controls',
403 'name' => esc_html__('Slideshow Controls', 'photonic'),
404 'type' => 'select',
405 'options' => array(
406 '' => '',
407 'hide' => esc_html__('Hide', 'photonic'),
408 'show' => esc_html__('Show', 'photonic'),
409 ),
410 'hint' => esc_html__('Shows Previous and Next buttons on the slideshow.', 'photonic'),
411 ),
412
413 array(
414 'id' => 'timeout',
415 'name' => esc_html__('Time between slides in ms', 'photonic'),
416 'type' => 'text',
417 'std' => '',
418 'hint' => esc_html__('Applies to slideshows only', 'photonic')
419 ),
420
421 array(
422 'id' => 'speed',
423 'name' => esc_html__('Time for each transition in ms', 'photonic'),
424 'type' => 'text',
425 'std' => '',
426 'hint' => esc_html__('Applies to slideshows only', 'photonic')
427 ),
428 ),
429 ),
430
431 'google' => array(
432 'name' => esc_html__('Google Photos', 'photonic'),
433 'prelude' => sprintf(esc_html__('Documentation: %2$sOverall%1$s | %3$sPhotos%1$s | %4$sAlbums%1$s', 'photonic'),
434 '</a>',
435 '<a href="https://aquoid.com/plugins/photonic/google-photos/" target="_blank">',
436 '<a href="https://aquoid.com/plugins/photonic/google-photos/photos/" target="_blank">',
437 '<a href="https://aquoid.com/plugins/photonic/google-photos/albums/" target="_blank">'),
438 'fields' => array(
439 array(
440 'id' => 'view',
441 'name' => esc_html__('Display', 'photonic'),
442 'type' => 'select',
443 'options' => array(
444 'albums' => esc_html__('Albums', 'photonic'),
445 'photos' => esc_html__('Photos', 'photonic'),
446 ),
447 'hint' => esc_html__('Pick "Albums" if you want to display a collection of albums. Pick "Photos" if you want to display photos from a single album or from your photo-stream.', 'photonic')
448 ),
449
450 array(
451 'id' => 'album_id',
452 'name' => esc_html__('Album', 'photonic'),
453 'type' => 'text',
454 'hint' => sprintf(esc_html__('Applicable if "Display" is "Photos" and you want to show photos from an album. See %1$shere%2$s for more details.', 'photonic'), '<a href="https://aquoid.com/plugins/photonic/google-photos/albums/">', '</a>')
455 ),
456
457 array(
458 'id' => 'access',
459 'name' => esc_html__('Displayed Access Levels', 'photonic'),
460 'type' => 'select',
461 'options' => array(
462 '' => '',
463 'all' => esc_html__('Show all shared and not shared albums', 'photonic'),
464 'shared' => esc_html__('Only show shared albums', 'photonic'),
465 'not-shared' => esc_html__('Only show albums not shared', 'photonic'),
466 ),
467 'std' => '',
468 'hint' => sprintf(esc_html__('If "Display" is "Albums" you can decide to show shared or not-shared albums. See %1$shere%2$s for more details.', 'photonic'), '<a href="https://aquoid.com/plugins/photonic/google-photos/albums/">', '</a>')
469 ),
470
471 array(
472 'id' => 'filter',
473 'name' => esc_html__('Album Filter', 'photonic'),
474 'type' => 'text',
475 'hint' => esc_html__('If "Display" is "Albums" and you provide a comma-separated list of values here, these entities will be included / excluded based on the next option. Useful if you want to display thumbnails for certain albums only, ignored if an album id is provided above', 'photonic')
476 ),
477
478 array(
479 'id' => 'filter_type',
480 'name' => esc_html__('Album Filter Type', 'photonic'),
481 'type' => 'select',
482 'options' => array(
483 '' => '',
484 'include' => esc_html__('Include above list in results', 'photonic'),
485 'exclude' => esc_html__('Exclude above list from results', 'photonic'),
486 ),
487 ),
488
489 array(
490 'id' => 'date_filters',
491 'name' => esc_html__('Date Filters', 'photonic'),
492 'type' => 'text',
493 'hint' => sprintf(esc_html__('Applicable only if "Display" is "Photos". You can provide a comma-separated list of dates and ranges in the format %1$sY/M/D%2$s or %1$sY/M/D-Y/M/D%2$s.', 'photonic'),
494 '<code>', '</code>').Photonic::doc_link("https://aquoid.com/plugins/photonic/google-photos/photos/#filtering-photos")
495 ),
496
497 array(
498 'id' => 'content_filters',
499 'name' => esc_html__('Content Filters', 'photonic'),
500 'type' => 'text',
501 'hint' => sprintf(esc_html__('Applicable only if "Display" is "Photos". You can provide a comma-separated list of categories from %s.', 'photonic'),
502 'NONE, LANDSCAPES, RECEIPTS, CITYSCAPES, LANDMARKS, SELFIES, PEOPLE, PETS, WEDDINGS, BIRTHDAYS, DOCUMENTS, TRAVEL, ANIMALS, FOOD, SPORT, NIGHT, PERFORMANCES, WHITEBOARDS, SCREENSHOTS, UTILITY').
503 Photonic::doc_link('https://aquoid.com/plugins/photonic/google-photos/photos/#filtering-photos')
504 ),
505
506 array(
507 'id' => 'media',
508 'name' => esc_html__('Media to Show', 'photonic'),
509 'type' => 'select',
510 'options' => Photonic::media_options(),
511 'std' => $photonic_google_media,
512 ),
513
514 array(
515 'id' => 'count',
516 'name' => esc_html__('Number of photos / albums to show', 'photonic'),
517 'type' => 'text',
518 ),
519
520 array(
521 'id' => 'more',
522 'name' => esc_html__('"More" button text', 'photonic'),
523 'type' => 'text',
524 'hint' => esc_html__('Will show a "More" button with the specified text if the number of photos / albums is higher than the above entry. Leave blank to show no button', 'photonic'),
525 ),
526
527 array(
528 'id' => 'photo_count',
529 'name' => esc_html__('Number of photos to show in overlaid popup', 'photonic'),
530 'type' => 'text',
531 'hint' => sprintf(esc_html__('Applicable for pagination if %s is selected. Leave blank to show maximum allowed photos.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
532 ),
533
534 array(
535 'id' => 'photo_more',
536 'name' => esc_html__('"More" button text in overlaid popup', 'photonic'),
537 'type' => 'text',
538 'hint' => sprintf(esc_html__('Applicable for pagination if %s is selected. Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
539 ),
540
541 array(
542 'id' => 'layout',
543 'name' => esc_html__('Layout', 'photonic'),
544 'type' => 'select',
545 'options' => Photonic::layout_options(),
546 'hint' => esc_html__('The first four options trigger a slideshow, the rest trigger a lightbox.', 'photonic'),
547 'std' => $layout,
548 ),
549
550 array(
551 'id' => 'thumb_size',
552 'name' => esc_html__('Thumbnail size', 'photonic'),
553 'type' => 'text',
554 'std' => 150,
555 'hint' => esc_html__('In pixels, only applicable to square and circular thumbnails. Permitted values: 32, 48, 64, 72, 104, 144, 150, 160.', 'photonic')
556 ),
557
558 array(
559 'id' => 'crop_thumb',
560 'name' => esc_html__('Crop Thumbnail', 'photonic'),
561 'type' => 'select',
562 'options' => array(
563 'crop' => esc_html__('Crop the thumbnail', 'photonic'),
564 'no-crop' => esc_html__('Do not crop the thumbnail', 'photonic'),
565 ),
566 'std' => 'crop',
567 'hint' => esc_html__('Cropping the thumbnail presents you with a square thumbnail.', 'photonic')
568 ),
569
570 array(
571 'id' => 'main_size',
572 'name' => esc_html__('Main image size', 'photonic'),
573 'type' => 'text',
574 'std' => 1600,
575 'hint' => esc_html__('Numeric values between 1 and 16383, both inclusive.', 'photonic')
576 ),
577
578 array(
579 'id' => 'tile_size',
580 'name' => esc_html__('Tile image size', 'photonic'),
581 'type' => 'text',
582 'std' => 1600,
583 'hint' => esc_html__('Numeric values between 1 and 16383, both inclusive. Leave blank to use the "Main image size".', 'photonic')
584 ),
585
586 array(
587 'id' => 'fx',
588 'name' => esc_html__('Slideshow Effects', 'photonic'),
589 'type' => 'select',
590 'options' => array(
591 '' => '',
592 'fade' => esc_html__('Fade', 'photonic'),
593 'slide' => esc_html__('Slide', 'photonic'),
594 ),
595 'std' => '',
596 'hint' => esc_html__('Applies to slideshows only', 'photonic')
597 ),
598
599 array(
600 'id' => 'controls',
601 'name' => esc_html__('Slideshow Controls', 'photonic'),
602 'type' => 'select',
603 'options' => array(
604 '' => '',
605 'hide' => esc_html__('Hide', 'photonic'),
606 'show' => esc_html__('Show', 'photonic'),
607 ),
608 'hint' => esc_html__('Shows Previous and Next buttons on the slideshow.', 'photonic'),
609 ),
610
611 array(
612 'id' => 'timeout',
613 'name' => esc_html__('Time between slides in ms', 'photonic'),
614 'type' => 'text',
615 'std' => '',
616 'hint' => esc_html__('Applies to slideshows only', 'photonic')
617 ),
618
619 array(
620 'id' => 'speed',
621 'name' => esc_html__('Time for each transition in ms', 'photonic'),
622 'type' => 'text',
623 'std' => '',
624 'hint' => esc_html__('Applies to slideshows only', 'photonic')
625 ),
626 ),
627 ),
628
629 'smugmug' => array(
630 'name' => esc_html__('SmugMug', 'photonic'),
631 'prelude' => sprintf(esc_html__('You have to define your SmugMug API Key under %1$s.%2$s Documentation: %4$sOverall%3$s | %5$sPhotos%3$s | %6$sAlbums%3$s | %7$sFolders%3$s | %8$sUser Tree%3$s', 'photonic'),
632 '<strong>Photonic &rarr; Settings &rarr; SmugMug &rarr; SmugMug Settings</strong>',
633 '<br/>', '</a>',
634 '<a href="https://aquoid.com/plugins/photonic/smugmug/" target="_blank">',
635 '<a href="https://aquoid.com/plugins/photonic/smugmug/smugmug-photos/" target="_blank">',
636 '<a href="https://aquoid.com/plugins/photonic/smugmug/smugmug-albums/" target="_blank">',
637 '<a href="https://aquoid.com/plugins/photonic/smugmug/folders/" target="_blank">',
638 '<a href="https://aquoid.com/plugins/photonic/smugmug/smugmug-tree/" target="_blank">'),
639 'fields' => array(
640 array(
641 'id' => 'view',
642 'name' => esc_html__('Display', 'photonic'),
643 'type' => 'select',
644 'options' => array(
645 'tree' => esc_html__('Tree', 'photonic'),
646 'albums' => esc_html__('All albums', 'photonic'),
647 'album' => esc_html__('Single Album', 'photonic'),
648 'folder' => esc_html__('Single Folder', 'photonic'),
649 ),
650 'req' => true,
651 ),
652
653 array(
654 'id' => 'nick_name',
655 'name' => esc_html__('Nickname', 'photonic'),
656 'type' => 'text',
657 'hint' => esc_html__('If your SmugMug URL is http://joe-sixpack.smugmug.com, this is "joe-sixpack". Required if the "Display" is "Tree" or "All albums".', 'photonic')
658 ),
659
660 array(
661 'id' => 'site_password',
662 'name' => esc_html__('Site Password', 'photonic'),
663 'type' => 'text',
664 'hint' => esc_html__('Required if your entire SmugMug site is password-protected. See documentation link for "Albums" above.', 'photonic')
665 ),
666
667 array(
668 'id' => 'album',
669 'name' => esc_html__('Album', 'photonic'),
670 'type' => 'text',
671 'hint' => sprintf(esc_html__('Required if you are showing "Single Album" above. To find this, go to %s on your dashboard and find the albums for your nickname.', 'photonic'), '<strong>Photonic &rarr; Helpers &rarr; SmugMug</strong>')
672 ),
673
674 array(
675 'id' => 'filter',
676 'name' => esc_html__('Filter', 'photonic'),
677 'type' => 'text',
678 'hint' => esc_html__('If "Display" is "All albums" and you provide a comma-separated list of album keys here, these entities will be included / excluded based on the next option. Useful if you want to display thumbnails for certain albums only, ignored if an album is provided above', 'photonic')
679 ),
680
681 array(
682 'id' => 'filter_type',
683 'name' => esc_html__('Filter Type', 'photonic'),
684 'type' => 'select',
685 'options' => array(
686 '' => '',
687 'include' => esc_html__('Include above list in results', 'photonic'),
688 'exclude' => esc_html__('Exclude above list from results', 'photonic'),
689 ),
690 ),
691
692 array(
693 'id' => 'text',
694 'name' => esc_html__('Photos with text', 'photonic'),
695 'type' => 'text',
696 'hint' => esc_html__('Will show photos with the specified text. Leave blank for no filter.', 'photonic')
697 ),
698
699 array(
700 'id' => 'keywords',
701 'name' => esc_html__('Photos with keywords', 'photonic'),
702 'type' => 'text',
703 'hint' => esc_html__('Will show photos with the specified keywords. Leave blank for no filter.', 'photonic')
704 ),
705
706 array(
707 'id' => 'media',
708 'name' => esc_html__('Media to Show', 'photonic'),
709 'type' => 'select',
710 'options' => Photonic::media_options(),
711 'std' => $photonic_smug_media,
712 ),
713
714 array(
715 'id' => 'password',
716 'name' => esc_html__('Album Password', 'photonic'),
717 'type' => 'text',
718 'hint' => esc_html__('Required if you are showing "Single Album" above, and if your album is password-protected. See documentation link for "Photos" above.', 'photonic')
719 ),
720
721 array(
722 'id' => 'album_sort_order',
723 'name' => esc_html__('Album sort order', 'photonic'),
724 'type' => 'select',
725 'options' => array(
726 'Album Settings' => esc_html__('Album Settings', 'photonic'),
727 'Position' => esc_html__('Position', 'photonic'),
728 'Last Updated (Descending)' => esc_html__('Last Updated (Descending)', 'photonic'),
729 'Last Updated (Ascending)' => esc_html__('Last Updated (Ascending)', 'photonic'),
730 'Date Added (Descending)' => esc_html__('Date Added (Descending)', 'photonic'),
731 'Date Added (Ascending)' => esc_html__('Date Added (Ascending)', 'photonic'),
732 ),
733 'std' => 'Album Settings',
734 'hint' => esc_html__('If you are displaying multiple albums the results are sorted by this parameter', 'photonic'),
735 ),
736
737 array(
738 'id' => 'folder',
739 'name' => esc_html__('Folder', 'photonic'),
740 'type' => 'text',
741 'hint' => sprintf(esc_html__('Required if you are showing "Single Folder" above. To find this, go to %s on your dashboard and find the folders for your nickname.', 'photonic'), '<strong>Photonic &rarr; Helpers &rarr; SmugMug</strong>')
742 ),
743
744 array(
745 'id' => 'layout',
746 'name' => esc_html__('Layout', 'photonic'),
747 'type' => 'select',
748 'options' => Photonic::layout_options(),
749 'hint' => esc_html__('The first four options trigger a slideshow, the rest trigger a lightbox.', 'photonic'),
750 'std' => $layout,
751 ),
752
753 array(
754 'id' => 'caption',
755 'name' => esc_html__('Photo title / caption', 'photonic'),
756 'type' => 'select',
757 'options' => Photonic::title_caption_options(),
758 'std' => $photonic_smug_title_caption,
759 'hint' => esc_html__('This will be used as the title for your photos.', 'photonic'),
760 ),
761
762 array(
763 'id' => 'thumb_size',
764 'name' => esc_html__('Thumbnail size', 'photonic'),
765 'type' => 'select',
766 'std' => $photonic_smug_thumb_size,
767 "options" => array(
768 'Tiny' => esc_html__('Tiny', 'photonic'),
769 'Thumb' => esc_html__('Thumb', 'photonic'),
770 'Small' => esc_html__('Small', 'photonic'),
771 ),
772 'hint' => esc_html__('In pixels, only applicable to square and circular thumbnails', 'photonic')
773 ),
774
775 array(
776 'id' => 'main_size',
777 'name' => esc_html__('Main image size', 'photonic'),
778 'type' => 'select',
779 'std' => $photonic_smug_main_size,
780 'options' => array(
781 '4K' => esc_html__('4K (not always available)', 'photonic'),
782 '5K' => esc_html__('5K (not always available)', 'photonic'),
783 'Medium' => esc_html__('Medium', 'photonic'),
784 'Original' => esc_html__('Original (not always available)', 'photonic'),
785 'Large' => esc_html__('Large', 'photonic'),
786 'Largest' => esc_html__('Largest available', 'photonic'),
787 'XLarge' => esc_html__('XLarge (not always available)', 'photonic'),
788 'X2Large' => esc_html__('X2Large (not always available)', 'photonic'),
789 'X3Large' => esc_html__('X3Large (not always available)', 'photonic'),
790 ),
791 ),
792
793 array(
794 'id' => 'columns',
795 'name' => esc_html__('Number of columns', 'photonic'),
796 'type' => 'text',
797 ),
798
799 array(
800 'id' => 'count',
801 'name' => esc_html__('Number of photos / albums to show', 'photonic'),
802 'type' => 'text',
803 ),
804
805 array(
806 'id' => 'more',
807 'name' => esc_html__('"More" button text', 'photonic'),
808 'type' => 'text',
809 'hint' => esc_html__('Will show a "More" button with the specified text if the number of photos / albums is higher than the above entry. Leave blank to show no button', 'photonic'),
810 ),
811
812 array(
813 'id' => 'photo_count',
814 'name' => esc_html__('Number of photos to show in overlaid popup', 'photonic'),
815 'type' => 'text',
816 'hint' => sprintf(esc_html__('Applicable for pagination if %s is selected. Leave blank to show maximum allowed photos.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
817 ),
818
819 array(
820 'id' => 'photo_more',
821 'name' => esc_html__('"More" button text in overlaid popup', 'photonic'),
822 'type' => 'text',
823 'hint' => sprintf(esc_html__('Applicable for pagination if %s is selected. Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
824 ),
825
826 array(
827 'id' => 'fx',
828 'name' => esc_html__('Slideshow Effects', 'photonic'),
829 'type' => 'select',
830 'options' => array(
831 '' => '',
832 'fade' => esc_html__('Fade', 'photonic'),
833 'slide' => esc_html__('Slide', 'photonic'),
834 ),
835 'std' => '',
836 'hint' => esc_html__('Applies to slideshows only', 'photonic')
837 ),
838
839 array(
840 'id' => 'controls',
841 'name' => esc_html__('Slideshow Controls', 'photonic'),
842 'type' => 'select',
843 'options' => array(
844 '' => '',
845 'hide' => esc_html__('Hide', 'photonic'),
846 'show' => esc_html__('Show', 'photonic'),
847 ),
848 'hint' => esc_html__('Shows Previous and Next buttons on the slideshow.', 'photonic'),
849 ),
850
851 array(
852 'id' => 'timeout',
853 'name' => esc_html__('Time between slides in ms', 'photonic'),
854 'type' => 'text',
855 'std' => '',
856 'hint' => esc_html__('Applies to slideshows only', 'photonic')
857 ),
858
859 array(
860 'id' => 'speed',
861 'name' => esc_html__('Time for each transition in ms', 'photonic'),
862 'type' => 'text',
863 'std' => '',
864 'hint' => esc_html__('Applies to slideshows only', 'photonic')
865 ),
866 ),
867 ),
868
869 'zenfolio' => array(
870 'name' => esc_html__('Zenfolio', 'photonic'),
871 'prelude' => sprintf(esc_html__('Documentation: %2$sOverall%1$s | %3$sPhotos%1$s | %4$sPhotosets%1$s | %5$sGroups%1$s | %6$sGroup Hierarchy%1$s', 'photonic'),
872 '</a>',
873 '<a href="https://aquoid.com/plugins/photonic/zenfolio/" target="_blank">',
874 '<a href="https://aquoid.com/plugins/photonic/zenfolio/photos/" target="_blank">',
875 '<a href="https://aquoid.com/plugins/photonic/zenfolio/photosets/" target="_blank">',
876 '<a href="https://aquoid.com/plugins/photonic/zenfolio/groups/" target="_blank">',
877 '<a href="https://aquoid.com/plugins/photonic/zenfolio/group-hierarchy/" target="_blank">'),
878 'fields' => array(
879 array(
880 'id' => 'view',
881 'name' => esc_html__('Display', 'photonic'),
882 'type' => 'select',
883 'options' => array(
884 'photos' => esc_html__('Photos', 'photonic'),
885 'photosets' => esc_html__('Photosets', 'photonic'),
886 'hierarchy' => esc_html__('Group Hierarchy', 'photonic'),
887 'group' => esc_html__('Group', 'photonic'),
888 ),
889 'req' => true,
890 ),
891
892 array(
893 'id' => 'object_id',
894 'name' => esc_html__('Object ID', 'photonic'),
895 'type' => 'text',
896 'hint' => sprintf(esc_html__('Can be set if "Display" is %1$sPhotos%2$s, %1$sPhotosets%2$s or %1$sGroup%2$s.', 'photonic'), '<code>', '</code>'),
897 ),
898
899 array(
900 'id' => 'text',
901 'name' => esc_html__('Search by text', 'photonic'),
902 'type' => 'text',
903 'hint' => sprintf(esc_html__('Can be set if "Display" is %1$sPhotos%2$s or %1$sPhotosets%2$s.', 'photonic'), '<code>', '</code>'),
904 ),
905
906 array(
907 'id' => 'category_code',
908 'name' => esc_html__('Search by category code', 'photonic'),
909 'type' => 'text',
910 'hint' => sprintf(esc_html__('Can be set if "Display" is %1$sPhotos%2$s or %1$sPhotosets%2$s.', 'photonic'), '<code>', '</code>').'<br/>'.
911 sprintf(esc_html__('See the list of categories from %s.', 'photonic'), '<strong>Photonic &rarr; Helpers</strong>'),
912 ),
913
914 array(
915 'id' => 'sort_order',
916 'name' => esc_html__('Search results sort order', 'photonic'),
917 'type' => 'select',
918 'options' => array(
919 '' => '',
920 'Date' => esc_html__('Date', 'photonic'),
921 'Popularity' => esc_html__('Popularity', 'photonic'),
922 'Rank' => esc_html__('Rank (for searching by text only)', 'photonic'),
923 ),
924 'hint' => sprintf(esc_html__('Can be set if "Display" is %1$sPhotos%2$s or %1$sPhotosets%2$s.', 'photonic'), '<code>', '</code>').'<br/>'.
925 esc_html__('For search results only.', 'photonic'),
926 ),
927
928 array(
929 'id' => 'photoset_type',
930 'name' => esc_html__('Photoset type', 'photonic'),
931 'type' => 'select',
932 'options' => array(
933 '' => '',
934 'Gallery' => esc_html__('Gallery', 'photonic'),
935 'Collection' => esc_html__('Collection', 'photonic'),
936 ),
937 'hint' => esc_html__('Mandatory if Display = Photosets and no Object ID is specified.', 'photonic'),
938 ),
939
940 array(
941 'id' => 'kind',
942 'name' => esc_html__('Display classification', 'photonic'),
943 'type' => 'select',
944 'options' => array(
945 '' => '',
946 'popular' => esc_html__('Popular', 'photonic'),
947 'recent' => esc_html__('Recent', 'photonic'),
948 ),
949 'hint' => sprintf(esc_html__('Mandatory if "Display" is %1$sPhotos%2$s or %1$sPhotosets%2$s, and none of the other criteria above is specified.', 'photonic'), '<code>', '</code>'),
950 ),
951
952 array(
953 'id' => 'login_name',
954 'name' => esc_html__('Login name', 'photonic'),
955 'type' => 'text',
956 'hint' => esc_html__('Mandatory if Display = Hierarchy', 'photonic'),
957 ),
958
959 array(
960 'id' => 'media',
961 'name' => esc_html__('Media to Show', 'photonic'),
962 'type' => 'select',
963 'options' => Photonic::media_options(),
964 'std' => $photonic_zenfolio_media,
965 ),
966
967 array(
968 'id' => 'layout',
969 'name' => esc_html__('Layout', 'photonic'),
970 'type' => 'select',
971 'options' => Photonic::layout_options(),
972 'hint' => esc_html__('The first four options trigger a slideshow, the rest trigger a lightbox.', 'photonic'),
973 'std' => $layout,
974 ),
975
976 array(
977 'id' => 'structure',
978 'name' => esc_html__('Group / Hierarchy structure', 'photonic'),
979 'type' => 'select',
980 'options' => array(
981 '' => '',
982 'flat' => esc_html__('All photosets shown in single level', 'photonic'),
983 'nested' => esc_html__('Photosets shown nested within groups', 'photonic'),
984 ),
985 'hint' => esc_html__('Applicable if groups or hierarchies are being displayed.', 'photonic'),
986 ),
987
988 array(
989 'id' => 'caption',
990 'name' => esc_html__('Photo title / caption', 'photonic'),
991 'type' => 'select',
992 'options' => Photonic::title_caption_options(),
993 'std' => $photonic_zenfolio_title_caption,
994 'hint' => esc_html__('This will be used as the title for your photos.', 'photonic'),
995 ),
996
997 array(
998 'id' => 'thumb_size',
999 'name' => esc_html__('Thumbnail size', 'photonic'),
1000 'type' => 'select',
1001 'std' => $photonic_zenfolio_thumb_size,
1002 "options" => array(
1003 "1" => esc_html__("Square thumbnail, 60 &times; 60px, cropped square", 'photonic'),
1004 "0" => esc_html__("Small thumbnail, upto 80 &times; 80px", 'photonic'),
1005 "10" => esc_html__("Medium thumbnail, upto 120 &times; 120px", 'photonic'),
1006 "11" => esc_html__("Large thumbnail, upto 120 &times; 120px", 'photonic'),
1007 "2" => esc_html__("Small image, upto 400 &times; 400px", 'photonic'),
1008 ),
1009 'hint' => esc_html__('In pixels, only applicable to square and circular thumbnails', 'photonic')
1010 ),
1011
1012 array(
1013 'id' => 'main_size',
1014 'name' => esc_html__('Main image size', 'photonic'),
1015 'type' => 'select',
1016 'std' => $photonic_zenfolio_main_size,
1017 'options' => array(
1018 '2' => esc_html__('Small image, upto 400 &times; 400px', 'photonic'),
1019 '3' => esc_html__('Medium image, upto 580 &times; 450px', 'photonic'),
1020 '4' => esc_html__('Large image, upto 800 &times; 630px', 'photonic'),
1021 '5' => esc_html__('X-Large image, upto 1100 &times; 850px', 'photonic'),
1022 '6' => esc_html__('XX-Large image, upto 1550 &times; 960px', 'photonic'),
1023 ),
1024 ),
1025
1026 array(
1027 'id' => 'columns',
1028 'name' => esc_html__('Number of columns', 'photonic'),
1029 'type' => 'text',
1030 ),
1031
1032 array(
1033 'id' => 'limit',
1034 'name' => esc_html__('Number of photos to show', 'photonic'),
1035 'type' => 'text',
1036 'alt_id' => 'count',
1037 ),
1038
1039 array(
1040 'id' => 'more',
1041 'name' => esc_html__('"More" button text', 'photonic'),
1042 'type' => 'text',
1043 'hint' => esc_html__('Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button', 'photonic'),
1044 ),
1045
1046 array(
1047 'id' => 'photo_count',
1048 'name' => esc_html__('Number of photos to show in overlaid popup', 'photonic'),
1049 'type' => 'text',
1050 'hint' => sprintf(esc_html__('Applicable for pagination if %s is selected. Leave blank to show maximum allowed photos.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
1051 ),
1052
1053 array(
1054 'id' => 'photo_more',
1055 'name' => esc_html__('"More" button text in overlaid popup', 'photonic'),
1056 'type' => 'text',
1057 'hint' => sprintf(esc_html__('Applicable for pagination if %s is selected. Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button.', 'photonic'), '<strong>Photonic &rarr; Settings &rarr; Generic Options &rarr; Overlaid Popup Panel &rarr; Enable Interim Popup for Album Thumbnails</strong>'),
1058 ),
1059
1060 array(
1061 'id' => 'fx',
1062 'name' => esc_html__('Slideshow Effects', 'photonic'),
1063 'type' => 'select',
1064 'options' => array(
1065 '' => '',
1066 'fade' => esc_html__('Fade', 'photonic'),
1067 'slide' => esc_html__('Slide', 'photonic'),
1068 ),
1069 'std' => '',
1070 'hint' => esc_html__('Applies to slideshows only', 'photonic')
1071 ),
1072
1073 array(
1074 'id' => 'controls',
1075 'name' => esc_html__('Slideshow Controls', 'photonic'),
1076 'type' => 'select',
1077 'options' => array(
1078 '' => '',
1079 'hide' => esc_html__('Hide', 'photonic'),
1080 'show' => esc_html__('Show', 'photonic'),
1081 ),
1082 'hint' => esc_html__('Shows Previous and Next buttons on the slideshow.', 'photonic'),
1083 ),
1084
1085 array(
1086 'id' => 'timeout',
1087 'name' => esc_html__('Time between slides in ms', 'photonic'),
1088 'type' => 'text',
1089 'std' => '',
1090 'hint' => esc_html__('Applies to slideshows only', 'photonic')
1091 ),
1092
1093 array(
1094 'id' => 'speed',
1095 'name' => esc_html__('Time for each transition in ms', 'photonic'),
1096 'type' => 'text',
1097 'std' => '',
1098 'hint' => esc_html__('Applies to slideshows only', 'photonic')
1099 ),
1100 ),
1101 ),
1102
1103 'instagram' => array(
1104 'name' => esc_html__('Instagram', 'photonic'),
1105 'prelude' => sprintf(esc_html__('Documentation: %1$sInstagram%2$s', 'photonic'), '<a href="https://aquoid.com/plugins/photonic/instagram/" target="_blank">', '</a>'),
1106 'fields' => array(
1107 array(
1108 'id' => 'view',
1109 'name' => esc_html__('Display', 'photonic'),
1110 'type' => 'select',
1111 'options' => array(
1112 'recent' => esc_html__('Recent Photos', 'photonic'),
1113 'search' => esc_html__('Search', 'photonic'),
1114 'tag' => esc_html__('Tag', 'photonic'),
1115 'location' => esc_html__('Location', 'photonic'),
1116 'photo' => esc_html__('Single Photo', 'photonic'),
1117 ),
1118 'req' => true,
1119 ),
1120
1121 array(
1122 'id' => 'media_id',
1123 'name' => esc_html__('Media ID', 'photonic'),
1124 'type' => 'text',
1125 'hint' => esc_html__('Required if "Display" is set to "Single Photos".', 'photonic').'<br/>'.
1126 sprintf(esc_html__('If your photo is at %1$shttps://instagram.com/p/ABcde5678fg/%2$s, your media id is %1$sABcde5678fg%2$s.', 'photonic'), '<code>', '</code>')
1127 ),
1128
1129 array(
1130 'id' => 'tag_name',
1131 'name' => esc_html__('Tag', 'photonic'),
1132 'type' => 'text',
1133 'hint' => esc_html__('Required if "Display" is set to "Tag"', 'photonic')
1134 ),
1135
1136 array(
1137 'id' => 'lat',
1138 'name' => esc_html__('Latitude', 'photonic'),
1139 'type' => 'text',
1140 'hint' => esc_html__('Latitude and Longitude are required if "Display" = "Search"', 'photonic')
1141 ),
1142
1143 array(
1144 'id' => 'lng',
1145 'name' => esc_html__('Longitude', 'photonic'),
1146 'type' => 'text',
1147 'hint' => esc_html__('Latitude and Longitude are required if "Display" = "Search"', 'photonic')
1148 ),
1149
1150 array(
1151 'id' => 'location_id',
1152 'name' => esc_html__('Location ID', 'photonic'),
1153 'type' => 'text',
1154 'hint' => esc_html__('Required if "Display" is set to "Location".', 'photonic')
1155 ),
1156
1157 array(
1158 'id' => 'layout',
1159 'name' => esc_html__('Layout', 'photonic'),
1160 'type' => 'select',
1161 'options' => Photonic::layout_options(),
1162 'hint' => esc_html__('The first four options trigger a slideshow, the rest trigger a lightbox.', 'photonic'),
1163 'std' => $layout,
1164 ),
1165
1166 array(
1167 'id' => 'thumb_size',
1168 'name' => esc_html__('Thumbnail size', 'photonic'),
1169 'type' => 'text',
1170 'std' => 150,
1171 'hint' => esc_html__('In pixels, only applicable to square and circular thumbnails', 'photonic')
1172 ),
1173
1174 array(
1175 'id' => 'min_id',
1176 'name' => esc_html__('Min Photo ID', 'photonic'),
1177 'type' => 'text',
1178 'hint' => esc_html__('Use the min and max ID to reduce your matches for "Location" and "Tag" displays', 'photonic')
1179 ),
1180
1181 array(
1182 'id' => 'max_id',
1183 'name' => esc_html__('Max Photo ID', 'photonic'),
1184 'type' => 'text',
1185 'hint' => esc_html__('Use the min and max ID to reduce your matches for "Location" and "Tag" displays', 'photonic')
1186 ),
1187
1188 array(
1189 'id' => 'media',
1190 'name' => esc_html__('Media to Show', 'photonic'),
1191 'type' => 'select',
1192 'options' => Photonic::media_options(),
1193 'std' => $photonic_instagram_media,
1194 ),
1195
1196 array(
1197 'id' => 'columns',
1198 'name' => esc_html__('Number of columns', 'photonic'),
1199 'type' => 'text',
1200 ),
1201
1202 array(
1203 'id' => 'count',
1204 'name' => esc_html__('Number of photos to show', 'photonic'),
1205 'type' => 'text',
1206 ),
1207
1208 array(
1209 'id' => 'more',
1210 'name' => esc_html__('"More" button text', 'photonic'),
1211 'type' => 'text',
1212 'hint' => esc_html__('Will show a "More" button with the specified text if the number of photos is higher than the above entry. Leave blank to show no button', 'photonic'),
1213 ),
1214
1215 array(
1216 'id' => 'fx',
1217 'name' => esc_html__('Slideshow Effects', 'photonic'),
1218 'type' => 'select',
1219 'options' => array(
1220 '' => '',
1221 'fade' => esc_html__('Fade', 'photonic'),
1222 'slide' => esc_html__('Slide', 'photonic'),
1223 ),
1224 'std' => '',
1225 'hint' => esc_html__('Applies to slideshows only', 'photonic')
1226 ),
1227
1228 array(
1229 'id' => 'controls',
1230 'name' => esc_html__('Slideshow Controls', 'photonic'),
1231 'type' => 'select',
1232 'options' => array(
1233 '' => '',
1234 'hide' => esc_html__('Hide', 'photonic'),
1235 'show' => esc_html__('Show', 'photonic'),
1236 ),
1237 'hint' => esc_html__('Shows Previous and Next buttons on the slideshow.', 'photonic'),
1238 ),
1239
1240 array(
1241 'id' => 'timeout',
1242 'name' => esc_html__('Time between slides in ms', 'photonic'),
1243 'type' => 'text',
1244 'std' => '',
1245 'hint' => esc_html__('Applies to slideshows only', 'photonic')
1246 ),
1247
1248 array(
1249 'id' => 'speed',
1250 'name' => esc_html__('Time for each transition in ms', 'photonic'),
1251 'type' => 'text',
1252 'std' => '',
1253 'hint' => esc_html__('Applies to slideshows only', 'photonic')
1254 ),
1255 ),
1256 ),
1257 );
1258
1259