Исходный текст | Переводы |
---|---|
E.g. 98518260@N02 | |
Space separated list of terms. | |
Feeds: Flickr parser | |
Adds a JSON Flickr feed processor to the Feeds module | |
Clear the cache on form submit. You might find the !autofloat_module useful. | |
A default Flickr size to use if no size is specified, for example [flickr-photo:id=3711935987].<br />Clear the cache on form submit.<br />!: TAKE CARE, the c size (800px) is missing on Flickr images uploaded before March 1, 2012! | |
accepted date formats | |
relative formats | |
PHP: Relative Formats - Manual | |
Insert a <strong>Flickr photo</strong>. A working example: ![]() <ul> ![]() <li>[flickr-<strong>photo</strong>:id=7357144724, size=m, mintitle=999, minmetadata=999] (accepts only the parameters <em>id, class, style, size, mintitle</em> and <em>minmetadata</em>)</li> ![]() </ul> ![]() To float single photos use [flickr-photo:id=9247386562, <strong>class="floatright"</strong>], [flickr-photo:id=9247388074, <strong>style="float:left;"</strong>] or use the !autofloat (recommended).<br /><br /> ![]() Insert a <strong>Flickr album</strong>. Working examples: ![]() <ul> ![]() <li>[flickr-<strong>photoset</strong>:id=72157634563269642, size=s, num=8, tags=kids/men, media=all, sort=random, count=false, mintitle=999, minmetadata=999, heading=none]</li> ![]() <li>[flickr-<strong>gallery</strong>:id=72157648989290536, size=q, num=4, sort=views]</li> ![]() <li>[flickr-<strong>group</strong>:id=91484156@N00, size=q, num=8, tags=flowers, media=all, sort=random, count=false, mintitle=999, minmetadata=999, heading=none]</li> ![]() <li>[flickr-<strong>user</strong>:id=lolandese1, size=q, num=6, tags=kids/men, media=all, sort=random, count=false, mintitle=999, minmetadata=999, heading=none]</li> ![]() <li>[flickr-<strong>user</strong>:id=public, size=q, num=10,tags=Augusto Canario, filter=interesting, sort=views, extend=true]</li> ![]() <li>[flickr-<strong>user</strong>:id=public, size=q, num=8,location=48.867556/2.364088, date=2015-01-11, filter=interesting, sort=views]</li> ![]() <li>[flickr-<strong>favorites</strong>:id=lolandese, size=q, num=4, tags=tomosborn/people, media=all, sort=random, count=false, mintitle=999, minmetadata=999, heading=none]</li> ![]() </ul><br /> ![]() Common sizes:<br /> ![]() <table style='width:100%'> ![]() <tr> ![]() <td> ![]() s : small square 75<br /> ![]() t : thumbnail, 100 on longest side<br /> ![]() q : big square 150 ![]() </td> ![]() <td> ![]() m : small, 240 on longest side<br /> ![]() n : small, 320 on longest side<br /> ![]() - : medium, 500 on longest side ![]() </td> ![]() <td> ![]() x: Responsive slideshow (for group, set and user IDs only)<br /> ![]() y: Basic responsive slideshow (for set and user IDs only) ![]() </td> ![]() </tr> ![]() </table> ![]() The 'c' size (800px) is missing on Flickr images uploaded before March 1, 2012. Photos with non existing sizes will be skipped in albums.<br /><br /> ![]() <strong>TIP</strong>: Not only the node body but also blocks make use of a text format. Build your own custom Flickr album block using the Flickr Filter syntax.<br /><br /> ![]() <strong>PARAMETER EXAMPLES</strong>. Omitting a parameter will result in the default value to be used.<br /> ![]() <strong>id=lolandese1</strong> : A photo, set, user or group ID. <strong>id=public</strong> grabs CC licensed public photos (only for <em>[flickr-user:...]</em>). <strong>Default: id=@default_userid</strong> (!config).<br /> !find_id Valid ID values: numeric ID (the one that contains a '@'), path alias, Flickr username or the user's email.<br /> ![]() <strong>class="floatleft foo bar"</strong> : Syntax as in HTML. Wrap the value in quotes (or not) and put spaces between multiple classes.<br /> Applies to the outer HTML element of a photo or album.<br /> ![]() <strong>style="float:left; border:solid 2px;"</strong> : Syntax as in HTML. Wrap the value in quotes (or not) and put semicolons between different style declarations.<br /> Applies to the outer HTML element of a photo or album.<br /> ![]() <strong>size=q</strong> : Big square (150px). The sizes x and y display a slideshow and ignore number, media, tags, location and sort settings.<br /> <strong>Default single photo: size=@default_size, album photo: size=@default_size_album</strong> (both !config).<br /> ![]() <strong>num=4</strong> : Display 4 photos. <strong>Default: num=@default_number</strong> (!config). For albums only.<br /> If set to 1, the single image will behave as such. Heading and counter will be omitted, and float might apply.<br /> Used to display a single changing random or recent image.<br /> ![]() <strong>media=all</strong> : Display both photos and videos. <strong>Default: media=photos</strong>. For albums only.<br /> ![]() <strong>tags=kids/men</strong> : <strong>Separate multiple tags with a slash (/).</strong> Display all set, group or user photos that contain the indicated tags.<br /> Case insensitive, matches any tag, for photosets and galleries even partial. You can exclude results that match a term by prepending it with a - character.<br /> Public albums will only display photos that match all tags. Like on Flickr spaces are removed from tags (e.g. 'Victoria park' becomes 'victoriapark').<br /> For albums only.<br /> ![]() <strong>extend=true</strong> : Extend the tag filter to search for matching terms also in the Flickr photo title and description besides Flickr tags.<br /> <strong>Default: extend=@default_extend</strong> (!config). For albums only.<br /> ![]() <strong>tag_mode=all</strong> : Matches 'all' defined tags (AND). The other possible value is 'any' (OR).<br /> If this parameter is omitted, 'all' is used if no Flickr user ID is known (public search), otherwise 'any' is used. For albums only.<br /> ![]() <strong>location=48.85837/2.294481/0.2</strong> : Display photos within 200 mt from the Eiffel Tower. Lat/lon/radius (in km). Separate values with a slash (/).<br /> To get the coordinates for a location, right-click on a Google map and choose 'What's here?' or copy/paste it from the URL.<br /> Substitute the comma (,) with a slash (/). Optionally add a radius to force a major number of results to filter on (max. 32 km).<br /> If the radius is omitted it defaults to 14 meter and gradually expands to 32 km until a sufficient number of results are returned.<br /> Besides decimal coordinates also degrees are accepted, e.g. 2° 21' 50.72". For user and group albums only, also public.<br /> ![]() <strong>date=2015-01-11</strong> : Display photos taken on 11 January 2015.<br /> Many !dateformats (e.g. '11 Jan 2015'), also !relativeformats (e.g. 'first day of last month | last day of last month').<br /> Separate two date values with a vertical bar (|) to cover a timespan of multiple days. For user and group albums only, also public.<br /> <strong>Tip</strong>: Use a date in combination with a location to grab public photos of an event.<br /> ![]() <strong>heading=h3</strong> : Wraps the album title in HTML tags. Use 'p' to apply no style or 'none' to suppress the title. <strong>Default heading=@default_heading</strong> (!config). For albums only.<br /> ![]() <strong>sort=views</strong> : Display the most viewed Flickr photos first (popularity, slower response after cache clear).<br /> Other values: <em>unsorted</em> = recent as delivered by the Flickr API (fastest response),<br /> <em>random</em> (slower response after cache clear), <em>taken</em> (newest first), <em>posted</em> (newest first) , <em>added</em> (for groups only, newest first) and <em>id</em> (on photo ID, newest first).<br /> <strong>Default: sort=unsorted</strong>. For albums only.<br /> ![]() <strong>filter=interesting</strong> : Display the most interesting photos. Other possible value: <em>relevant</em>. For user and group albums only, also public.<br /> ![]() <strong>count=false</strong> : Suppress display of the counter under the album (e.g. <em>5 out of 124 on Flickr</em>). <strong>Default: count=@default_count</strong> (!config). For albums only.<br /> ![]() <strong>mintitle=999</strong> : Suppress display of the title in the photo captions for images below a width of 999 px. <strong>Default: mintitle=@default_mintitle</strong> (!config).<br /> ![]() <strong>minmetadata=999</strong> : Suppress display of the metadata in the photo captions for images below a width of 999 px. <strong>Default: minmetadata=@default_minmetadata</strong> (!config). |