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

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

107 lines 4.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $photonic_instagram_options;
3
4 $photonic_instagram_options = array(
5 array('name' => "Instagram settings",
6 'desc' => "Control settings for Instagram",
7 'category' => "instagram-settings",
8 'type' => 'section',),
9
10 array('name' => "Instagram Access Token",
11 'desc' => "Enter your Instagram Access Token. You can get this from <em>Photonic &rarr; Authentication</em> by clicking on <em>Login and get Access Token</em>",
12 'id' => "instagram_access_token",
13 'grouping' => "instagram-settings",
14 'type' => 'text',
15 'std' => ""),
16
17 array('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' => "instagram_media",
20 'grouping' => "instagram-settings",
21 'type' => 'select',
22 'options' => Photonic::media_options(),
23 'std' => 'photos'),
24
25 array('name' => "Disable lightbox linking",
26 'desc' => "Check this to disable linking the photo title in the lightbox to the original photo page.",
27 'id' => "instagram_disable_title_link",
28 'grouping' => "instagram-settings",
29 'type' => 'checkbox',
30 'std' => ""),
31
32 array('name' => "Expanded size",
33 'desc' => "Image size to show when you click on a thumbnail:",
34 'id' => "instagram_main_size",
35 'grouping' => "instagram-settings",
36 'type' => 'select',
37 'options' => array("low_resolution" => "Low Resolution - 306x306px, or 320x320px", "standard_resolution" => "Standard Resolution - 612x612px or 640x640px", 'largest' => 'Largest available resolution (640x640px for old images, upto 1080x1080px for new images)', ),
38 'std' => "standard_resolution"),
39
40 array('name' => "Expanded video size",
41 'desc' => "Video size to show when you click on a thumbnail:",
42 'id' => "instagram_video_size",
43 'grouping' => "instagram-settings",
44 'type' => 'select',
45 'options' => array("low_resolution" => "Low Resolution", "standard_resolution" => "Standard Resolution", 'low_bandwidth' => 'Low Bandwidth'),
46 'std' => "standard_resolution"),
47
48 array('name' => "Tile image size",
49 '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:",
50 'id' => "instagram_tile_size",
51 'grouping' => "instagram-settings",
52 'type' => 'select',
53 'options' => array("same" => "Same as Main image size", "low_resolution" => "Low Resolution - 306x306px, or 320x320px", "standard_resolution" => "Standard Resolution - 612x612px or 640x640px", 'largest' => 'Largest available resolution (640x640px for old images, upto 1080x1080px for new images)', ),
54 'std' => "same"),
55
56 array('name' => "Title Display",
57 'desc' => "How do you want the title of the photo thumbnail?",
58 'id' => "instagram_photo_title_display",
59 'grouping' => "instagram-settings",
60 'type' => 'radio',
61 'options' => photonic_title_styles(),
62 'std' => "tooltip"),
63
64 array('name' => "Constrain Photos Per Row",
65 '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.",
66 'id' => "instagram_photos_per_row_constraint",
67 'grouping' => "instagram-settings",
68 'type' => 'select',
69 'options' => array("padding" => "Fix the padding around the thumbnails",
70 "count" => "Fix the number of thumbnails per row",
71 ),
72 'std' => "padding"),
73
74 array('name' => "Constrain by padding",
75 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by",
76 'id' => "instagram_photos_constrain_by_padding",
77 'grouping' => "instagram-settings",
78 'type' => 'text',
79 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.",
80 'std' => "15"),
81
82 array('name' => "Constrain by number of thumbnails",
83 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails",
84 'id' => "instagram_photos_constrain_by_count",
85 'grouping' => "instagram-settings",
86 'type' => 'select',
87 'options' => photonic_selection_range(1, 25),
88 'std' => 5),
89
90 array('name' => "Photo Thumbnail Border",
91 'id' => "instagram_photo_thumb_border",
92 'grouping' => "instagram-settings",
93 'type' => 'border',
94 'options' => array(),
95 'std' => photonic_default_border(),
96 ),
97
98 array('name' => "Photo Thumbnail - Padding between border and image",
99 'desc' => "Setup the padding between the photo thumbnail and its border.",
100 'id' => "instagram_photo_thumb_padding",
101 'grouping' => "instagram-settings",
102 'type' => 'padding',
103 'options' => array(),
104 'std' => photonic_default_padding(),
105 ),
106
107 );