Issue #2258147 by lolandese: Allows setting a minimum image width to force or...
Issue #2258147 by lolandese: Allows setting a minimum image width to force or suppress both title or metadata in the photo caption per block or album in the node body.
<strong>media=all</strong> : Display both photos and videos. Default: media=photos<br />
<strong>tags=kids/men</strong> : Display all set, group or user photos that contain the indicated tags. Case insensitive, matches any tag, for photosets even partial. Multiple tags for groups will only query the last 500 photos on Flickr. Note that Flickr removes any whitespace from tags (e.g. 'Victoria park' becomes 'victoriapark'). Multiple tags should be seperated by a slash (/).<br />
<strong>heading=h2</strong> : Wraps the album title in HTML tags. Use p to apply no style or none to suppress the title. Default heading=p<br />
<strong>heading=h3</strong> : Wraps the album title in HTML tags. Use p to apply no style or none to suppress the title. Default heading=@default_count (!config).<br />
<strong>random=false</strong> : Display the newest photos first (reverse cronological order). Default: random=false<br />
<strong>count=false</strong> : Suppress display of the counter under the album (e.g. 5 out of 124 on Flickr). Default: count=@default_count (!config).<br />
<strong>mintitle=999</strong> : Suppress display of the title in the photo captions for images below a width of 999 px. Default: mintitle=@default_mintitle (!config).<br />
<strong>minmetadata=999</strong> : Suppress display of the metadata in the photo captions for images below a width of 999 px. Default: minmetadata=@default_minmetadata (!config).<br />
Ommiting parameters the default values will be used.",array(
'#description'=>t('A default Flickr size to use if no size is specified, for example [flickr-photo:id=3711935987].<br />After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.<br />!: TAKE CARE, n (320px) and c (800px) sizes are missing on many "older" Flickr images!'),
'#description'=>t('Shows how many photos are displayed out of the total number available for a user, group or set on Flickr. Can be overridden by the filter tag, eg. [flickr-photoset:id=72157634563269642,count=false]'),
);
$form['overlay_settings']=array(
if(module_exists('flickr_filter')){
$form['filter_settings']=array(
'#type'=>'fieldset',
'#title'=>t('Overlay browser settings'),
'#description'=>t('Leave empty to link directly to the Flickr photo page instead of opening the bigger version of the image.'),
'#description'=>t('For example: <em>colorbox</em>. After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
'#title'=>t('Filter settings'),
'#description'=>t('After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
'#description'=>t('For example: <em>gallery-all</em> or <em>lightbox[gallery]</em>. After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
'#title'=>t('Wrap the album title in an HTML heading tag (only for the text filter)'),
'#description'=>t('The image size to open in the overlay browser when clicking the image. Larger sizes make navigating to next and previous pictures slower.<br />After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.<br />!: TAKE CARE, n (320px) and c (800px) sizes are missing on many "older" Flickr images!'),
'#description'=>t('A default Flickr size to use if no size is specified, for example [flickr-photo:id=3711935987].<br />After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.<br />!: TAKE CARE, n (320px) and c (800px) sizes are missing on many "older" Flickr images!'),
);
}
if(module_exists('flickr_block')){
$form['block_settings']=array(
'#type'=>'fieldset',
@@ -214,10 +197,10 @@ function flickr_admin_settings() {
'#description'=>t('For example: <em>colorbox</em>. After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
);
$form['overlay_settings']['flickr_rel']=array(
'#type'=>'textfield',
'#title'=>t('rel'),
'#default_value'=>variable_get('flickr_rel',''),
'#description'=>t('For example: <em>gallery-all</em> or <em>lightbox[gallery]</em>. After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
'#description'=>t('The image size to open in the overlay browser when clicking the image. Larger sizes make navigating to next and previous pictures slower.<br />After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.<br />!: TAKE CARE, n (320px) and c (800px) sizes are missing on many "older" Flickr images!'),
);
// We need an api key before we can verify usernames.