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

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