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 / options / flickr-options.php

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

571 lines 24.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $photonic_flickr_options;
3
4 $photonic_flickr_options = array(
5 array('name' => "Flickr settings",
6 'desc' => "Control settings for Flickr",
7 'category' => "flickr-settings",
8 'type' => 'section',),
9
10 array('name' => "Flickr API Key",
11 'desc' => "To make use of the Flickr functionality you have to use your Flickr API Key.
12 You can <a href='http://www.flickr.com/services/api/misc.api_keys.html'>obtain a key online</a> if you don't have one.
13 Note that you are responsible for following all of the Flickr API's <a href='http://www.flickr.com/services/api/tos/'>Terms of Service</a>",
14 'id' => "flickr_api_key",
15 'grouping' => "flickr-settings",
16 'type' => 'text',
17 'std' => ""),
18
19 array('name' => "Flickr API Secret",
20 'desc' => "To make use of authenticated Flickr functionality you have to use your Flickr API secret.
21 You can <a href='http://www.flickr.com/services/api/misc.api_keys.html'>obtain a key online</a> if you don't have one.
22 Note that you are responsible for following all of the Flickr API's <a href='http://www.flickr.com/services/api/tos/'>Terms of Service</a>",
23 'id' => "flickr_api_secret",
24 'grouping' => "flickr-settings",
25 'type' => 'text',
26 'std' => ""),
27
28 array('name' => "Allow User Login (for Front-end / Client-side Authentication)",
29 'desc' => "Let visitors of your site login to Flickr to see private photos for which they have permissions (will show a login button if they are not logged in). This requires your visitors to have Flickr accounts themselves. See <a href='https://aquoid.com/plugins/photonic/authentication/'>here</a> for more.",
30 'id' => "flickr_allow_oauth",
31 'grouping' => "flickr-settings",
32 'type' => 'checkbox',
33 'std' => ""),
34
35 array('name' => "Access Token (for Back-end / Server-side Authentication)",
36 'desc' => "To get your token go to <em>Photonic &rarr; Authentication &rarr; Flickr</em>, and authenticate. Save the token you get here. <br/>If you have set
37 up a token, your users can see protected Flickr photos without a Flickr account. See <a href='https://aquoid.com/plugins/photonic/authentication/'>here</a> for more.",
38 'id' => "flickr_access_token",
39 'grouping' => "flickr-settings",
40 'type' => 'text',
41 'std' => ""),
42
43 array('name' => "Access Token Secret (for Back-end / Server-side Authentication)",
44 'desc' => "To get your token secret go to <em>Photonic &rarr; Authentication &rarr; Flickr</em>, and authenticate. Save the token secret you get here. Your token secret works with the token set in the prvious option. See <a href='https://aquoid.com/plugins/photonic/authentication/'>here</a> for more.",
45 'id' => "flickr_token_secret",
46 'grouping' => "flickr-settings",
47 'type' => 'text',
48 'std' => ""),
49
50 array('name' => "Login Box Text",
51 'desc' => "If &ldquo;Allow User Login&rdquo; is enabled above, this is the text users will see before the login button (you can use HTML tags here)",
52 'id' => "flickr_login_box",
53 'grouping' => "flickr-settings",
54 'type' => 'textarea',
55 'std' => "Some photos that you are trying to see may be visible to logged in users of Flickr only. Please login if you want to see them."),
56
57 array('name' => "Login Button Text",
58 'desc' => "If &ldquo;Allow User Login&rdquo; is enabled above, this is the text users will see before the login button (you can use HTML tags other than &lt;a&gt; here)",
59 'id' => "flickr_login_button",
60 'grouping' => "flickr-settings",
61 'type' => 'text',
62 'std' => "Login"),
63
64 array('name' => 'Default user',
65 'desc' => 'If no user is specified in the shortcode this one will be used. <strong>Note that this is not the username from https://www.flickr.com/photos/<span style="text-decoration: underline">username</span>/</strong>, but you can get the user id from <em>Photonic &rarr; Helpers</em>.',
66 'id' => 'flickr_default_user',
67 'grouping' => 'flickr-settings',
68 'type' => 'text',
69 'std' => ''),
70
71 array('name' => 'Media to show',
72 'desc' => 'You can choose to include photos as well as videos in your output. This can be overridden by the <code>media</code> parameter in the shortcode:',
73 'id' => "flickr_media",
74 'grouping' => "flickr-settings",
75 'type' => 'select',
76 'options' => Photonic::media_options(),
77 'std' => 'photos'),
78
79 array('name' => "Thumbnail size",
80 'desc' => "Flickr lets you display a thumbnail in the following sizes:",
81 'id' => "flickr_thumb_size",
82 'grouping' => "flickr-settings",
83 'type' => 'select',
84 'options' => array(
85 "s" => "Small square, 75x75px",
86 "q" => "Large square, 150x150px",
87 "t" => "Thumbnail, 100px on longest side",
88 "m" => "Small, 240px on longest side",
89 "n" => "Small, 320px on longest side",
90 ),
91 'std' => "s"),
92
93 array('name' => "Main image size",
94 'desc' => "When you click on a thumbnail this size will be displayed if you are using a slideshow. If you are not using a slideshow you will be taken to the Flickr page:",
95 'id' => "flickr_main_size",
96 'grouping' => "flickr-settings",
97 'type' => 'select',
98 'options' => array(
99 "none" => "Medium, 500px on the longest side",
100 "z" => "Medium, 640px on longest side",
101 "c" => "Medium, 800px on longest side",
102 "b" => "Large, 1024px on longest side",
103 "h" => "Large, 1600px on longest side",
104 "k" => "Large, 2048px on longest side",
105 "o" => "Original",
106 ),
107 'std' => "z"),
108
109 array('name' => "Tile image size",
110 'desc' => "<strong>This is applicable only if you are using the random tiled gallery, masonry or mosaic layouts.</strong> This size will be used as the image for the tiles. Picking a size smaller than the Main image size above will save bandwidth if your users <strong>don't click</strong> on individual images. Conversely, leaving this the same as the Main image size will save bandwidth if your users <strong>do click</strong> on individual images:",
111 'id' => "flickr_tile_size",
112 'grouping' => "flickr-settings",
113 'type' => 'select',
114 'options' => array(
115 "same" => "Same as Main image size",
116 "n" => "Small, 320px on longest side",
117 "none" => "Medium, 500px on the longest side",
118 "z" => "Medium, 640px on longest side",
119 "c" => "Medium, 800px on longest side",
120 "b" => "Large, 1024px on longest side",
121 "h" => "Large, 1600px on longest side",
122 "k" => "Large, 2048px on longest side",
123 "o" => "Original",
124 ),
125 'std' => "same"),
126
127 array('name' => "Video size",
128 'desc' => "This is the video size that will be used for the lightbox:",
129 'id' => "flickr_video_size",
130 'grouping' => "flickr-settings",
131 'type' => 'select',
132 'options' => array(
133 'Site MP4' => 'Site MP4',
134 'Mobile MP4' => 'Mobile MP4',
135 'HD MP4' => 'HD MP4',
136 'Video Original' => 'Video Original',
137 ),
138 'std' => 'Site MP4'),
139
140 array('name' => "Disable lightbox linking",
141 'desc' => "Check this to disable linking the photo title in the lightbox to the original photo page.",
142 'id' => "flickr_disable_title_link",
143 'grouping' => "flickr-settings",
144 'type' => 'checkbox',
145 'std' => ""),
146
147 array('name' => "Photo titles and captions",
148 'desc' => "What do you want to show as the photo title in the tooltip and lightbox?",
149 'id' => "flickr_title_caption",
150 'grouping' => "flickr-settings",
151 'type' => 'select',
152 'options' => Photonic::title_caption_options(),
153 'std' => "title"),
154
155 array('name' => "Collections",
156 'desc' => "Control settings for Flickr collection thumbnails",
157 'category' => "flickr-collections",
158 'type' => 'section',),
159
160 array('name' => "What is this section?",
161 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='flickr' user_id='abc' view='collections']</code> or <code>[gallery type='flickr' user_id='abc' collection_id='xyz']</code>. They are used to control the collection's thumbnail display.",
162 'grouping' => "flickr-collections",
163 'type' => 'blurb',),
164
165 array('name' => "Hide Empty Collection Details",
166 'desc' => "This will hide the collection header if your collection has no sets. Nested collections will be displayed, however.",
167 'id' => "flickr_hide_empty_collection_details",
168 'grouping' => "flickr-collections",
169 'type' => 'checkbox',
170 'std' => ""),
171
172 array('name' => "Hide Collection Thumbnail",
173 'desc' => "This will hide the thumbnail that is auto-generated by Flickr for your collection.",
174 'id' => "flickr_hide_collection_thumbnail",
175 'grouping' => "flickr-collections",
176 'type' => 'checkbox',
177 'std' => ""),
178
179 array('name' => "Hide Collection Title",
180 'desc' => "This will hide the title for your Flickr collection.",
181 'id' => "flickr_hide_collection_title",
182 'grouping' => "flickr-collections",
183 'type' => 'checkbox',
184 'std' => ""),
185
186 array('name' => "Hide Number of Sets",
187 'desc' => "This will hide the number of Photosets / Albums in your Flickr collection.",
188 'id' => "flickr_hide_collection_set_count",
189 'grouping' => "flickr-collections",
190 'type' => 'checkbox',
191 'std' => ""),
192
193 array('name' => "Collection Thumbnail Border",
194 'desc' => "Setup the border of collection thumbnail.",
195 'id' => "flickr_coll_thumb_border",
196 'grouping' => "flickr-collections",
197 'type' => 'border',
198 'options' => array(),
199 'std' => photonic_default_border(),
200 ),
201
202 array('name' => "Collection Thumbnail - Padding between border and image",
203 'desc' => "Setup the padding between the collection thumbnail and its border.",
204 'id' => "flickr_coll_thumb_padding",
205 'grouping' => "flickr-collections",
206 'type' => 'padding',
207 'options' => array(),
208 'std' => photonic_default_padding(),
209 ),
210
211 array('name' => "Photoset / Album Thumbnails (with other Photosets / Albums)",
212 'desc' => "Control settings for Flickr Photoset thumbnails",
213 'category' => "flickr-sets",
214 'type' => 'section',),
215
216 array('name' => "What is this section?",
217 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='flickr' user_id='abc' view='photosets']</code> or <code>[gallery type='flickr' user_id='abc' collection_id='xyz']</code> or <code>[gallery type='flickr' user_id='abc' view='collections']</code>. They are used to control the Photoset's thumbnail display",
218 'grouping' => "flickr-sets",
219 'type' => 'blurb',),
220
221 array('name' => "Photoset Title Display",
222 'desc' => "How do you want the title of the Photoset?",
223 'id' => "flickr_collection_set_title_display",
224 'grouping' => "flickr-sets",
225 'type' => 'radio',
226 'options' => photonic_title_styles(),
227 'std' => "tooltip"),
228
229 array('name' => "Hide Photo Count in Title Display",
230 'desc' => "This will hide the number of photos in your Photoset's title.",
231 'id' => "flickr_hide_collection_set_photos_count_display",
232 'grouping' => "flickr-sets",
233 'type' => 'checkbox',
234 'std' => ""),
235
236 array('name' => "Constrain Photosets Per Row",
237 'desc' => "How do you want the control the number of photoset thumbnails per row? This can be overridden by adding the '<code>columns</code>' parameter to the '<code>gallery</code>' shortcode.",
238 'id' => "flickr_collection_set_per_row_constraint",
239 'grouping' => "flickr-sets",
240 'type' => 'select',
241 'options' => array("padding" => "Fix the padding around the thumbnails",
242 "count" => "Fix the number of thumbnails per row",
243 ),
244 'std' => "padding"),
245
246 array('name' => "Constrain by padding",
247 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
248 'id' => "flickr_collection_set_constrain_by_padding",
249 'grouping' => "flickr-sets",
250 'type' => 'text',
251 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.",
252 'std' => "15"),
253
254 array('name' => "Constrain by number of thumbnails",
255 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
256 'id' => "flickr_collection_set_constrain_by_count",
257 'grouping' => "flickr-sets",
258 'type' => 'select',
259 'options' => photonic_selection_range(1, 25),
260 'std' => 5),
261
262 array('name' => "Photoset Thumbnail Border",
263 'desc' => "Setup the border of Photoset thumbnail when the Photoset is a part of a larger group of photosets (not listed under collections). This is valid for the short-code usage <code>[gallery type='flickr' user_id='abc' view='photosets']</code>",
264 'id' => "flickr_sets_set_thumb_border",
265 'grouping' => "flickr-sets",
266 'type' => 'border',
267 'options' => array(),
268 'std' => photonic_default_border(),
269 ),
270
271 array('name' => "Photoset Thumbnail - Padding between border and image",
272 'desc' => "Setup the padding between the photoset thumbnail and its border.",
273 'id' => "flickr_sets_set_thumb_padding",
274 'grouping' => "flickr-sets",
275 'type' => 'padding',
276 'options' => array(),
277 'std' => photonic_default_padding(),
278 ),
279
280 array('name' => "Photoset / Album Headers (Standalone Photosets / Albums)",
281 'desc' => "Control settings for Flickr Photosets when displayed in your page",
282 'category' => "flickr-set",
283 'type' => 'section',),
284
285 array('name' => "What is this section?",
286 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='flickr' user_id='abc' photoset_id='xyz']</code> to show its contents on the page, or if you use <code>[gallery type='flickr' user_id='abc' view='photosets']</code> and click on a thumbnail to open the included images in a popup.",
287 'grouping' => "flickr-set",
288 'type' => 'blurb',),
289
290 array('name' => "Hide Header Thumbnail",
291 'desc' => "This will hide the thumbnail in the header for your Flickr Photoset.",
292 'id' => "flickr_hide_set_thumbnail",
293 'grouping' => "flickr-set",
294 'type' => 'checkbox',
295 'std' => ""),
296
297 array('name' => "Hide Header Title",
298 'desc' => "This will hide the title in the header for your Flickr Photoset.",
299 'id' => "flickr_hide_set_title",
300 'grouping' => "flickr-set",
301 'type' => 'checkbox',
302 'std' => ""),
303
304 array('name' => "Hide Number of Photos",
305 'desc' => "This will hide the number of photos in the header in your Flickr Photoset.",
306 'id' => "flickr_hide_set_photo_count",
307 'grouping' => "flickr-set",
308 'type' => 'checkbox',
309 'std' => ""),
310
311 array('name' => "Header Thumbnail Border",
312 'desc' => "Setup the border of the header thumbnail when the Photoset is displayed by itself with its photos.",
313 'id' => "flickr_set_alone_thumb_border",
314 'grouping' => "flickr-set",
315 'type' => 'border',
316 'options' => array(),
317 'std' => photonic_default_border(),
318 ),
319
320 array('name' => "Header Thumbnail - Padding between border and image",
321 'desc' => "Setup the padding between the photoset thumbnail and its border.",
322 'id' => "flickr_set_alone_thumb_padding",
323 'grouping' => "flickr-set",
324 'type' => 'padding',
325 'options' => array(),
326 'std' => photonic_default_padding(),
327 ),
328
329 array('name' => "Gallery Thumbnails (with other Galleries)",
330 'desc' => "Control settings for Flickr Gallery thumbnails",
331 'category' => "flickr-galleries",
332 'type' => 'section',),
333
334 array('name' => "What is this section?",
335 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='flickr' user_id='abc' view='galleries']</code>. They are used to control the Gallery's thumbnail display",
336 'grouping' => "flickr-galleries",
337 'type' => 'blurb',),
338
339 array('name' => "Gallery Title Display",
340 'desc' => "How do you want the title of the Gallery?",
341 'id' => "flickr_gallery_title_display",
342 'grouping' => "flickr-galleries",
343 'type' => 'radio',
344 'options' => photonic_title_styles(),
345 'std' => "tooltip"),
346
347 array('name' => "Hide Photo Count in Title Display",
348 'desc' => "This will hide the number of photos in your Gallery's title.",
349 'id' => "flickr_hide_gallery_photos_count_display",
350 'grouping' => "flickr-galleries",
351 'type' => 'checkbox',
352 'std' => ""),
353
354 array('name' => "Constrain Galleries Per Row",
355 'desc' => "How do you want the control the number of gallery thumbnails per row? This can be overridden by adding the '<code>columns</code>' parameter to the '<code>gallery</code>' shortcode.",
356 'id' => "flickr_galleries_per_row_constraint",
357 'grouping' => "flickr-galleries",
358 'type' => 'select',
359 'options' => array("padding" => "Fix the padding around the thumbnails",
360 "count" => "Fix the number of thumbnails per row",
361 ),
362 'std' => "padding"),
363
364 array('name' => "Constrain by padding",
365 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
366 'id' => "flickr_galleries_constrain_by_padding",
367 'grouping' => "flickr-galleries",
368 'type' => 'text',
369 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.",
370 'std' => "15"),
371
372 array('name' => "Constrain by number of thumbnails",
373 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
374 'id' => "flickr_galleries_constrain_by_count",
375 'grouping' => "flickr-galleries",
376 'type' => 'select',
377 'options' => photonic_selection_range(1, 25),
378 'std' => 5),
379
380 array('name' => "Gallery Thumbnail Border",
381 'desc' => "Setup the border of Gallery thumbnail when the Gallery is a part of a larger group of galleries. This is valid for the short-code usage <code>[gallery type='flickr' user_id='abc' view='galleries']</code>",
382 'id' => "flickr_galleries_gallery_thumb_border",
383 'grouping' => "flickr-galleries",
384 'type' => 'border',
385 'options' => array(),
386 'std' => photonic_default_border(),
387 ),
388
389 array('name' => "Gallery Thumbnail - Padding between border and image",
390 'desc' => "Setup the padding between the thumbnail and its border.",
391 'id' => "flickr_galleries_gallery_thumb_padding",
392 'grouping' => "flickr-galleries",
393 'type' => 'padding',
394 'options' => array(),
395 'std' => photonic_default_padding(),
396 ),
397
398 array('name' => "Gallery Headers (Standalone Galleries)",
399 'desc' => "Control settings for Flickr Galleries when displayed in your page",
400 'category' => "flickr-gallery",
401 'type' => 'section',),
402
403 array('name' => "What is this section?",
404 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='flickr' user_id='abc' gallery_id='xyz']</code> to show its contents on the page, or if you use <code>[gallery type='flickr' user_id='abc' view='galleries']</code> and click on a thumbnail to open the included images in a popup.",
405 'grouping' => "flickr-gallery",
406 'type' => 'blurb',),
407
408 array('name' => "Hide Header Thumbnail",
409 'desc' => "This will hide the thumbnail in the header for your Flickr Gallery.",
410 'id' => "flickr_hide_gallery_thumbnail",
411 'grouping' => "flickr-gallery",
412 'type' => 'checkbox',
413 'std' => ""),
414
415 array('name' => "Hide Header Title",
416 'desc' => "This will hide the title in the header for your Flickr Gallery.",
417 'id' => "flickr_hide_gallery_title",
418 'grouping' => "flickr-gallery",
419 'type' => 'checkbox',
420 'std' => ""),
421
422 array('name' => "Hide Number of Photos",
423 'desc' => "This will hide the number of photos in the header in your Flickr Gallery.",
424 'id' => "flickr_hide_gallery_photo_count",
425 'grouping' => "flickr-gallery",
426 'type' => 'checkbox',
427 'std' => ""),
428
429 array('name' => "Header Thumbnail Border",
430 'desc' => "Setup the border of Gallery thumbnail when the Gallery is displayed by itself with its photos. This is valid for the short-code usage <code>[gallery type='flickr' user_id='abc' gallery_id='xyz']</code>",
431 'id' => "flickr_gallery_alone_thumb_border",
432 'grouping' => "flickr-gallery",
433 'type' => 'border',
434 'options' => array(),
435 'std' => photonic_default_border(),
436 ),
437
438 array('name' => "Header Thumbnail - Padding between border and image",
439 'desc' => "Setup the padding between the gallery thumbnail and its border.",
440 'id' => "flickr_gallery_alone_thumb_padding",
441 'grouping' => "flickr-gallery",
442 'type' => 'padding',
443 'options' => array(),
444 'std' => photonic_default_padding(),
445 ),
446
447 array('name' => "Photos (Main Page)",
448 'desc' => "Control settings for Flickr Photos when displayed in your page",
449 'category' => "flickr-photos",
450 'type' => 'section',),
451
452 array('name' => "What is this section?",
453 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='flickr' user_id='abc' photoset_id='xyz']</code> or <code>[gallery type='flickr' user_id='abc' view='photos']</code>. In other words, the photos are printed directly on the page.",
454 'grouping' => "flickr-photos",
455 'type' => 'blurb',),
456
457 array('name' => "Photo Title Display",
458 'desc' => "How do you want the title of the photos?",
459 'id' => "flickr_photo_title_display",
460 'grouping' => "flickr-photos",
461 'type' => 'radio',
462 'options' => photonic_title_styles(),
463 'std' => "tooltip"),
464
465 array('name' => "Constrain Photos Per Row",
466 'desc' => "How do you want the control the number of photo thumbnails per row by default? This can be overridden by adding the '<code>columns</code>' parameter to the '<code>gallery</code>' shortcode.",
467 'id' => "flickr_photos_per_row_constraint",
468 'grouping' => "flickr-photos",
469 'type' => 'select',
470 'options' => array("padding" => "Fix the padding around the thumbnails",
471 "count" => "Fix the number of thumbnails per row",
472 ),
473 'std' => "padding"),
474
475 array('name' => "Constrain by padding",
476 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
477 'id' => "flickr_photos_constrain_by_padding",
478 'grouping' => "flickr-photos",
479 'type' => 'text',
480 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.",
481 'std' => "15"),
482
483 array('name' => "Constrain by number of thumbnails",
484 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
485 'id' => "flickr_photos_constrain_by_count",
486 'grouping' => "flickr-photos",
487 'type' => 'select',
488 'options' => photonic_selection_range(1, 25),
489 'std' => 5),
490
491 array('name' => "Photo Thumbnail Border",
492 'desc' => "Setup the border of photo thumbnail when the photo is displayed as a part of a photoset or in a photo-stream. This is valid for the short-code usage <code>[gallery type='flickr' photoset_id='xyz']</code>, or <code>[gallery type='flickr' user_id='abc' view='photos']</code>.",
493 'id' => "flickr_photo_thumb_border",
494 'grouping' => "flickr-photos",
495 'type' => 'border',
496 'options' => array(),
497 'std' => photonic_default_border(),
498 ),
499
500 array('name' => "Photo Thumbnail - Padding between border and image",
501 'desc' => "Setup the padding between the photo thumbnail and its border.",
502 'id' => "flickr_photo_thumb_padding",
503 'grouping' => "flickr-photos",
504 'type' => 'padding',
505 'options' => array(),
506 'std' => photonic_default_padding(),
507 ),
508
509 array('name' => "Photos (Overlaid Popup Panel)",
510 'desc' => "Control settings for Flickr Photos when displayed in a popup",
511 'category' => "flickr-photos-pop",
512 'type' => 'section',),
513
514 array('name' => "What is this section?",
515 'desc' => "Options in this section are in effect when you click on a Photoset thumbnail to launch an overlaid gallery. In other words, the photos are printed directly on a popup.",
516 'grouping' => "flickr-photos-pop",
517 'type' => 'blurb',),
518
519 array('name' => "Photo Title Display",
520 'desc' => "How do you want the title of the photos?",
521 'id' => "flickr_photo_pop_title_display",
522 'grouping' => "flickr-photos-pop",
523 'type' => 'radio',
524 'options' => photonic_title_styles(),
525 'std' => "tooltip"),
526
527 array('name' => "Constrain Photos Per Row",
528 'desc' => "How do you want the control the number of photo thumbnails per row by default? This can be overridden by adding the '<code>columns</code>' parameter to the '<code>gallery</code>' shortcode.",
529 'id' => "flickr_photos_pop_per_row_constraint",
530 'grouping' => "flickr-photos-pop",
531 'type' => 'select',
532 'options' => array("padding" => "Fix the padding around the thumbnails",
533 "count" => "Fix the number of thumbnails per row",
534 ),
535 'std' => "padding"),
536
537 array('name' => "Constrain by padding",
538 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
539 'id' => "flickr_photos_pop_constrain_by_padding",
540 'grouping' => "flickr-photos-pop",
541 'type' => 'text',
542 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.",
543 'std' => "15"),
544
545 array('name' => "Constrain by number of thumbnails",
546 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
547 'id' => "flickr_photos_pop_constrain_by_count",
548 'grouping' => "flickr-photos-pop",
549 'type' => 'select',
550 'options' => photonic_selection_range(1, 25),
551 'std' => 5),
552
553 array('name' => "Photo Thumbnail Border",
554 'desc' => "Setup the border of photo thumbnail when the photo is displayed in a popup gallery. This is valid when you click on a Photoset thumbnail to launch a popup gallery.",
555 'id' => "flickr_pop_photo_thumb_border",
556 'grouping' => "flickr-photos-pop",
557 'type' => 'border',
558 'options' => array(),
559 'std' => photonic_default_border(),
560 ),
561
562 array('name' => "Photo Thumbnail - Padding between border and image",
563 'desc' => "Setup the padding between the photo thumbnail and its border.",
564 'id' => "flickr_pop_photo_thumb_padding",
565 'grouping' => "flickr-photos-pop",
566 'type' => 'padding',
567 'options' => array(),
568 'std' => photonic_default_padding(),
569 ),
570 );
571