"500px Settings", 'desc' => "Control settings for 500px", 'category' => "500px-settings", 'type' => "section",), array('name' => '500px.com API Access', 'desc' => '
With effect from 15th June 2018, 500px.com has shut down its API. So the settings here will not have any effect, and 500px integration will not work any more.
', 'grouping' => "500px-settings", 'type' => 'blurb',), array('name' => "500px API Consumer Key", 'desc' => "To make use of the 500px functionality you have to use your 500px API Consumer Key. You can register an application and obtain a key online if you don't have one. Note that you are responsible for following all of the 500px API's Terms of Service and the users' copyright.", 'id' => "500px_api_key", 'grouping' => "500px-settings", 'type' => 'text', 'std' => ''), array('name' => "500px API Consumer Secret", 'desc' => "You have to enter the Customer Secret provided by 500px after you have registered your application.", 'id' => "500px_api_secret", 'grouping' => "500px-settings", 'type' => 'text', 'std' => ''), array('name' => "Allow User Login (for Front-end / Client-side Authentication)", 'desc' => "Let visitors of your site login to 500px 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 500px accounts themselves. See here for more.", 'id' => "500px_allow_oauth", 'grouping' => "500px-settings", 'type' => 'checkbox', 'std' => ''), array('name' => "Access Token (for Back-end / Server-side Authentication)", 'desc' => "To get your token go to Photonic → Authentication → 500px, and authenticate. Save the token you get here.
If you have set up a token, your users can see protected 500px photos without a 500px account. See here for more.", 'id' => "500px_access_token", 'grouping' => "500px-settings", 'type' => 'text', 'std' => ''), array('name' => "Access Token Secret (for Back-end / Server-side Authentication)", 'desc' => "To get your token secret go to Photonic → Authentication → 500px, and authenticate. Save the token secret you get here. Your token secret works with the token set in the prvious option. See here for more.", 'id' => "500px_token_secret", 'grouping' => "500px-settings", 'type' => 'text', 'std' => ''), array('name' => "Login Box Text", 'desc' => "If “Allow User Login” is enabled, this is the text users will see before the login button (you can use HTML tags here)", 'id' => "500px_login_box", 'grouping' => "500px-settings", 'type' => "textarea", 'std' => "Some features that you are trying to access may be visible to logged in users of 500px.com only. Please login if you want to see them."), array('name' => "Login Button Text", 'desc' => "If “Allow User Login” is enabled, this is the text users will see before the login button (you can use HTML tags other than <a> here)", 'id' => "500px_login_button", 'grouping' => "500px-settings", 'type' => 'text', 'std' => "Login"), array('name' => "Disable lightbox linking", 'desc' => "Check this to disable linking the photo title in the lightbox to the original photo page on 500px.com.", 'id' => "500px_disable_title_link", 'grouping' => "500px-settings", 'type' => 'checkbox', 'std' => ''), array('name' => "Photo titles and captions", 'desc' => "What do you want to show as the photo title in the tooltip and lightbox?", 'id' => "500px_title_caption", 'grouping' => "500px-settings", 'type' => 'select', 'options' => Photonic::title_caption_options(), 'std' => "title"), array('name' => "Photos", 'desc' => "Control settings for 500px Photos when displayed in your page", 'category' => "500px-photos", 'type' => "section",), array('name' => "What is this section?", 'desc' => "Options in this section are in effect when you use the shortcode format [gallery type='500px' feature='xyz'].", 'grouping' => "500px-photos", 'type' => 'blurb',), array('name' => "Photo Title Display", 'desc' => "How do you want the title of the photos?", 'id' => "500px_photo_title_display", 'grouping' => "500px-photos", 'type' => 'radio', 'options' => photonic_title_styles(), 'std' => "tooltip"), array('name' => "Constrain Photos Per Row", 'desc' => "How do you want the control the number of photo thumbnails per row by default? This can be overridden by adding the 'columns' parameter to the 'gallery' shortcode.", 'id' => "500px_photos_per_row_constraint", 'grouping' => "500px-photos", 'type' => 'select', 'options' => array("padding" => "Fix the padding around the thumbnails", "count" => "Fix the number of thumbnails per row", ), 'std' => "padding"), array('name' => "Constrain by padding", 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by", 'id' => "500px_photos_constrain_by_padding", 'grouping' => "500px-photos", 'type' => 'text', 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.", 'std' => "15"), array('name' => "Constrain by number of thumbnails", 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails", 'id' => "500px_photos_constrain_by_count", 'grouping' => "500px-photos", 'type' => 'select', 'options' => photonic_selection_range(1, 25), 'std' => 5), array('name' => "Photo Thumbnail Border", '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 [gallery type='500px' photoset_id='xyz'], or [gallery type='500px' user_id='abc' view='photos'].", 'id' => "500px_photo_thumb_border", 'grouping' => "500px-photos", 'type' => 'border', 'options' => array(), 'std' => photonic_default_border(), ), array('name' => "Photo Thumbnail - Padding between border and image", 'desc' => "Setup the padding between the photo thumbnail and its border.", 'id' => "500px_photo_thumb_padding", 'grouping' => "500px-photos", 'type' => 'padding', 'options' => array(), 'std' => photonic_default_padding(), ), array('name' => "Galleries", 'desc' => "Control settings for 500px Galleries when displayed in your page", 'category' => "500px-galleries", 'type' => "section",), array('name' => "Constrain Photos Per Row", 'desc' => "How do you want the control the number of photo thumbnails per row by default? This can be overridden by adding the 'columns' parameter to the 'gallery' shortcode.", 'id' => "500px_gallery_photos_per_row_constraint", 'grouping' => "500px-galleries", 'type' => 'select', 'options' => array("padding" => "Fix the padding around the thumbnails", "count" => "Fix the number of thumbnails per row", ), 'std' => "padding"), array('name' => "Constrain by padding", 'desc' => " If you have constrained by padding above, enter the number of pixels here to pad the thumbs by", 'id' => "500px_gallery_photos_constrain_by_padding", 'grouping' => "500px-galleries", 'type' => 'text', 'hint' => "Enter the number of pixels here (don't enter 'px'). Non-integers will be ignored.", 'std' => "15"), array('name' => "Constrain by number of thumbnails", 'desc' => " If you have constrained by number of thumbnails per row above, enter the number of thumbnails", 'id' => "500px_gallery_photos_constrain_by_count", 'grouping' => "500px-galleries", 'type' => 'select', 'options' => photonic_selection_range(1, 25), 'std' => 5), array('name' => "Photo Title Display", 'desc' => "How do you want the title of the photos?", 'id' => "500px_gallery_photo_title_display", 'grouping' => "500px-galleries", 'type' => 'radio', 'options' => photonic_title_styles(), 'std' => "tooltip"), );