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

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

278 lines 10.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $photonic_zenfolio_options;
3
4 $photonic_zenfolio_options = [
5 ['name' => "Zenfolio Photo Settings",
6 'desc' => "Control settings for Zenfolio",
7 'category' => 'zenfolio-settings',
8 'type' => 'section',],
9
10 ['name' => 'Default user',
11 'desc' => 'If no user is specified in the shortcode this one will be used. This is the username from https://<span style="text-decoration: underline">username</span>.zenfolio.com/',
12 'id' => 'zenfolio_default_user',
13 'grouping' => 'zenfolio-settings',
14 'type' => 'text'
15 ],
16
17 ['name' => 'Media to show',
18 '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:',
19 'id' => "zenfolio_media",
20 'grouping' => "zenfolio-settings",
21 'type' => 'select',
22 'options' => Photonic::media_options()
23 ],
24
25 ['name' => "Disable lightbox linking",
26 'desc' => "Check this to disable linking the photo title in the lightbox to the original photo page.",
27 'id' => "zenfolio_disable_title_link",
28 'grouping' => 'zenfolio-settings',
29 'type' => 'checkbox'
30 ],
31
32 ['name' => "Constrain Photos Per Row",
33 '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.",
34 'id' => "zenfolio_photos_per_row_constraint",
35 'grouping' => 'zenfolio-settings',
36 'type' => 'select',
37 'options' => ["padding" => "Fix the padding around the thumbnails",
38 "count" => "Fix the number of thumbnails per row",
39 ]
40 ],
41
42 ['name' => "Constrain by padding",
43 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
44 'id' => "zenfolio_photos_constrain_by_padding",
45 'grouping' => 'zenfolio-settings',
46 'type' => 'text',
47 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored."
48 ],
49
50 ['name' => "Constrain by number of thumbnails",
51 'desc' => "If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
52 'id' => "zenfolio_photos_constrain_by_count",
53 'grouping' => 'zenfolio-settings',
54 'type' => 'select',
55 'options' => photonic_selection_range(1, 25)
56 ],
57
58 ['name' => "Thumbnail size",
59 'desc' => "What size should a thumbnail be shown in if no size is specified? Zenfolio lets you display a thumbnail in the following sizes:",
60 'id' => "zenfolio_thumb_size",
61 'grouping' => 'zenfolio-settings',
62 'type' => 'select',
63 'options' => [
64 "0" => "Small thumbnail, upto 80 x 80px",
65 "1" => "Square thumbnail, 60 x 60px, cropped square",
66 "10" => "Medium thumbnail, upto 120 x 120px",
67 "11" => "Large thumbnail, upto 120 x 120px",
68 "2" => "Small image, upto 400 x 400px",
69 ]
70 ],
71
72 ['name' => "Main image size",
73 'desc' => "Show this size for the image in the lightbox:",
74 'id' => "zenfolio_main_size",
75 'grouping' => 'zenfolio-settings',
76 'type' => 'select',
77 'options' => [
78 "2" => "Small image, upto 400 x 400px",
79 "3" => "Medium image, upto 580 x 450px",
80 "4" => "Large image, upto 800 x 630px",
81 "5" => "X-Large image, upto 1100 x 850px",
82 "6" => "XX-Large image, upto 1550 x 960px",
83 ]
84 ],
85
86 ['name' => "Tile image size",
87 '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:",
88 'id' => "zenfolio_tile_size",
89 'grouping' => 'zenfolio-settings',
90 'type' => 'select',
91 'options' => [
92 "same" => "Same as Main image size",
93 "2" => "Small image, upto 400 x 400px",
94 "3" => "Medium image, upto 580 x 450px",
95 "4" => "Large image, upto 800 x 630px",
96 "5" => "X-Large image, upto 1100 x 850px",
97 "6" => "XX-Large image, upto 1550 x 960px",
98 ]
99 ],
100
101 ['name' => 'Video size',
102 'desc' => 'Show this size for the video in the lightbox:',
103 'id' => "zenfolio_video_size",
104 'grouping' => 'zenfolio-settings',
105 'type' => 'select',
106 'options' => [
107 '220' => "360p resolution (MP4)",
108 '215' => "480p resolution (MP4)",
109 '210' => "720p resolution (MP4)",
110 '200' => "1080p resolution (MP4)",
111 ]
112 ],
113
114 ['name' => "Photo Title Display",
115 'desc' => "How do you want the title of the photos?",
116 'id' => "zenfolio_photo_title_display",
117 'grouping' => 'zenfolio-settings',
118 'type' => "radio",
119 'options' => photonic_title_styles()
120 ],
121
122 ['name' => "Photo titles and captions",
123 'desc' => "What do you want to show as the photo title in the tooltip and lightbox?",
124 'id' => "zenfolio_title_caption",
125 'grouping' => 'zenfolio-settings',
126 'type' => 'select',
127 'options' => Photonic::title_caption_options()
128 ],
129
130 ['name' => "Zenfolio Groups",
131 'desc' => "Control settings for Zenfolio Groups",
132 'category' => 'zenfolio-groups',
133 'type' => 'section',],
134
135 ['name' => "What is this section?",
136 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='zenfolio' view='hierarchy' ...]</code> or <code>[gallery type='zenfolio' view='group' ...]</code>. They are used to control the Photoset's thumbnail display",
137 'grouping' => 'zenfolio-groups',
138 'type' => "blurb",],
139
140 ['name' => "Exclude Empty Groups",
141 'desc' => "Do not show groups whose immediate children photosets have no photos.",
142 'id' => "zenfolio_hide_empty_groups",
143 'grouping' => 'zenfolio-groups',
144 'type' => 'checkbox'
145 ],
146
147 ['name' => "Hide Group Title",
148 'desc' => "This will hide the title for your Zenfolio Group.",
149 'id' => "zenfolio_hide_group_title",
150 'grouping' => 'zenfolio-groups',
151 'type' => 'checkbox'
152 ],
153
154 ['name' => "Link to Zenfolio",
155 'desc' => "Link the group title (if shown) to the Zenfolio group page",
156 'id' => "zenfolio_link_group_page",
157 'grouping' => 'zenfolio-groups',
158 'type' => 'checkbox'
159 ],
160
161 ['name' => "Hide Number of Photos, if available",
162 'desc' => "This will hide the number of photos in your Zenfolio Group.",
163 'id' => "zenfolio_hide_group_photo_count",
164 'grouping' => 'zenfolio-groups',
165 'type' => 'checkbox'
166 ],
167
168 ['name' => "Hide Number of Sub-Groups, if available",
169 'desc' => "This will hide the number of sub-groups in your Zenfolio Group.",
170 'id' => "zenfolio_hide_group_group_count",
171 'grouping' => 'zenfolio-groups',
172 'type' => 'checkbox'
173 ],
174
175 ['name' => "Hide Number of Photosets, if available",
176 'desc' => "This will hide the number of photosets in your Zenfolio Group.",
177 'id' => "zenfolio_hide_group_set_count",
178 'grouping' => 'zenfolio-groups',
179 'type' => 'checkbox'
180 ],
181
182 ['name' => "Zenfolio Photoset Thumbnails (with other Photosets)",
183 'desc' => "Control settings for Zenfolio Photoset thumbnails",
184 'category' => 'zenfolio-sets',
185 'type' => 'section',],
186
187 ['name' => "What is this section?",
188 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='zenfolio' view='photosets' ...]</code>. They are used to control the Photoset's thumbnail display",
189 'grouping' => 'zenfolio-sets',
190 'type' => "blurb",],
191
192 ['name' => "Photoset Title Display",
193 'desc' => "How do you want the title of the Photoset?",
194 'id' => "zenfolio_set_title_display",
195 'grouping' => 'zenfolio-sets',
196 'type' => "radio",
197 'options' => photonic_title_styles()
198 ],
199
200 ['name' => "Hide Photo Count in Title Display",
201 'desc' => "This will hide the number of photos in your Photoset's title.",
202 'id' => "zenfolio_hide_set_photos_count_display",
203 'grouping' => 'zenfolio-sets',
204 'type' => 'checkbox'
205 ],
206
207 ['name' => "Hide thumbnails for Password-protected sets",
208 'desc' => "This will hide the thumbnail of password-protected photosets (Password-protected sets are not currently supported, so it is advisable to hide the thumbnails).",
209 'id' => "zenfolio_hide_password_protected_thumbnail",
210 'grouping' => 'zenfolio-sets',
211 'type' => 'checkbox'
212 ],
213
214 ['name' => "Constrain Photosets Per Row",
215 '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.",
216 'id' => "zenfolio_sets_per_row_constraint",
217 'grouping' => 'zenfolio-sets',
218 'type' => 'select',
219 'options' => ["padding" => "Fix the padding around the thumbnails",
220 "count" => "Fix the number of thumbnails per row",
221 ]
222 ],
223
224 ['name' => "Constrain by padding",
225 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
226 'id' => "zenfolio_sets_constrain_by_padding",
227 'grouping' => 'zenfolio-sets',
228 'type' => 'text',
229 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored."
230 ],
231
232 ['name' => "Constrain by number of thumbnails",
233 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
234 'id' => "zenfolio_sets_constrain_by_count",
235 'grouping' => 'zenfolio-sets',
236 'type' => 'select',
237 'options' => photonic_selection_range(1, 25)
238 ],
239
240 ['name' => "Zenfolio Photoset Header Thumbnails",
241 'desc' => "Control settings for Zenfolio Photosets when displayed in your page",
242 'category' => 'zenfolio-set',
243 'type' => 'section',],
244
245 ['name' => "What is this section?",
246 'desc' => "Options in this section are in effect when you use the shortcode format <code>[gallery type='zenfolio' view='photosets' ...]</code>. In other words, the gallery output for the Photoset is directly on the page, or in a popup and you want to control your Photoset's thumbnail.",
247 'grouping' => 'zenfolio-set',
248 'type' => "blurb",],
249
250 ['name' => "Hide Photoset Thumbnail",
251 'desc' => "This will hide the thumbnail for your Zenfolio Photoset.",
252 'id' => "zenfolio_hide_set_thumbnail",
253 'grouping' => 'zenfolio-set',
254 'type' => 'checkbox'
255 ],
256
257 ['name' => "Hide Photoset Title",
258 'desc' => "This will hide the title for your Zenfolio Photoset.",
259 'id' => "zenfolio_hide_set_title",
260 'grouping' => 'zenfolio-set',
261 'type' => 'checkbox'
262 ],
263
264 ['name' => "Link to Zenfolio",
265 'desc' => "Link the set thumbnail and title (if shown) to the Zenfolio set page",
266 'id' => "zenfolio_link_set_page",
267 'grouping' => 'zenfolio-set',
268 'type' => 'checkbox'
269 ],
270
271 ['name' => "Hide Number of Photos",
272 'desc' => "This will hide the number of photos in your Zenfolio Photoset.",
273 'id' => "zenfolio_hide_set_photo_count",
274 'grouping' => 'zenfolio-set',
275 'type' => 'checkbox'
276 ],
277 ];
278