You are here

README.txt in Flickr 6

Same filename in this branch
  1. 6 README.txt
  2. 6 filter/README.txt
  3. 6 block/README.txt
  4. 6 field/README.txt
Same filename and directory in other branches
  1. 7 filter/README.txt
NAME
====
Flickr Filter
Part of the Flickr module. Project page at https://drupal.org/project/flickr

OVERVIEW
========
Include single Flickr images or sets into the node body using only the Flickr ID
and optionally a size parameter.

FILTER CONFIGURATION
====================
The Flickr filter (called 'Flickr linker') should be added first to a text
format at '/admin/config/content/formats' > configure
In the 'Filter processing order' it should be placed above filters that affect
image related HTML, for example AutoFloat
(https://drupal.org/project/autofloat).

FILTER SYNTAX
=============
The filter format is: [flickr-photo:id=230452326,size=s] and
[flickr-photoset:id=72157594262419167,size=m]
You find the ID within the URL of the Flickr Photo or Set page. Note the length
of the number to distinguish a photo ID from a set ID. A number that includes
'@' is a user or group ID that can not be used in the filter.

The size parameter can be one of the following
(if available, check on Flickr > Actions > View all sizes"):
  s - small square 75x75
  t - thumbnail, 100 on longest side
  q - big square 150x150
  m - small, 240 on longest side
  n - small, 320 on longest side
  - - medium, 500 on longest side
  z - medium, 640 on longest side
  c - medium, 800 on longest side
  b - large, 1024 on longest side
  h - large, 1600 on longest side
  k - large, 2048 on longest side
  o - original image

NOTE:
For square images ('s': 75px and 'q': 150px) no real width needs to be fetched,
giving it a performance advantage over other sizes. Recommended if you include
many images.

A default size can be specified on the Flickr settings page at
'/admin/settings/flickr'. This size gets used in case the size parameter is
omitted, for example [flickr-photo:id=230452326]. It also means you can change
the size of all images without a specified size on the site in one go.

More info at http://www.flickr.com/help/faq/search/?q=sizes

Adding a class or style value
-----------------------------
To pass classes or styles the syntax has to look like:
[flickr-photo:id=9247386562, size=m, class=foo bar, style=float:left;]
Thus without quotes.
Try to avoid inline styling to float your images. Use the AutoFloat module
instead (https://drupal.org/project/autofloat) or use a custom class
and target it with CSS.

File

filter/README.txt
View source
  1. NAME
  2. ====
  3. Flickr Filter
  4. Part of the Flickr module. Project page at https://drupal.org/project/flickr
  5. OVERVIEW
  6. ========
  7. Include single Flickr images or sets into the node body using only the Flickr ID
  8. and optionally a size parameter.
  9. FILTER CONFIGURATION
  10. ====================
  11. The Flickr filter (called 'Flickr linker') should be added first to a text
  12. format at '/admin/config/content/formats' > configure
  13. In the 'Filter processing order' it should be placed above filters that affect
  14. image related HTML, for example AutoFloat
  15. (https://drupal.org/project/autofloat).
  16. FILTER SYNTAX
  17. =============
  18. The filter format is: [flickr-photo:id=230452326,size=s] and
  19. [flickr-photoset:id=72157594262419167,size=m]
  20. You find the ID within the URL of the Flickr Photo or Set page. Note the length
  21. of the number to distinguish a photo ID from a set ID. A number that includes
  22. '@' is a user or group ID that can not be used in the filter.
  23. The size parameter can be one of the following
  24. (if available, check on Flickr > Actions > View all sizes"):
  25. s - small square 75x75
  26. t - thumbnail, 100 on longest side
  27. q - big square 150x150
  28. m - small, 240 on longest side
  29. n - small, 320 on longest side
  30. - - medium, 500 on longest side
  31. z - medium, 640 on longest side
  32. c - medium, 800 on longest side
  33. b - large, 1024 on longest side
  34. h - large, 1600 on longest side
  35. k - large, 2048 on longest side
  36. o - original image
  37. NOTE:
  38. For square images ('s': 75px and 'q': 150px) no real width needs to be fetched,
  39. giving it a performance advantage over other sizes. Recommended if you include
  40. many images.
  41. A default size can be specified on the Flickr settings page at
  42. '/admin/settings/flickr'. This size gets used in case the size parameter is
  43. omitted, for example [flickr-photo:id=230452326]. It also means you can change
  44. the size of all images without a specified size on the site in one go.
  45. More info at http://www.flickr.com/help/faq/search/?q=sizes
  46. Adding a class or style value
  47. -----------------------------
  48. To pass classes or styles the syntax has to look like:
  49. [flickr-photo:id=9247386562, size=m, class=foo bar, style=float:left;]
  50. Thus without quotes.
  51. Try to avoid inline styling to float your images. Use the AutoFloat module
  52. instead (https://drupal.org/project/autofloat) or use a custom class
  53. and target it with CSS.