| 1 |
This is an early beta version of the flickr.module. It provides two |
WARNING: |
| 2 |
basic services: |
======== |
|
|
|
|
a) It adds an input filter, which translates certain tags into flickr |
|
|
images: |
|
|
|
|
|
{{flickr:PHOTO_ID}} pulls the _m version of the image and displays it |
|
|
{{flickrnl:PHOTO_ID}} same as flickr: but does not set a link back. |
|
|
{{flickrtn:PHOTO_ID}} renders a thumbnail |
|
|
{{flickrbig:PHOTO_ID}} the 500x version |
|
|
|
|
|
b) It creates a page (/flickr) for all your photosets. |
|
|
This might break unless you have at least one photo set |
|
|
defined. |
|
|
|
|
|
c) It adds a display page for each photoset. |
|
|
|
|
| 3 |
This module is EARLY BETA. It is unpolished, has no help text, and does |
This module is EARLY BETA. It is unpolished, has no help text, and does |
| 4 |
not properly catch some errors. Use at your own risk. |
not properly catch some errors. Use at your own risk. |
| 5 |
|
|
|
Email jluster@jluster.org or go to http://www.jluster.org for more. |
|
| 6 |
|
Installing: |
| 7 |
|
a) Get an API key from Flickr (http://www.flickr.com/services/api/misc.api_keys.html) |
| 8 |
|
b) Get your NSID from flickr (go to your photos page, view source, find global_nsid, note value) |
| 9 |
|
c) Go to http://www.jluster.org/admin/settings/flickr and configure your setup. |
| 10 |
|
d) In your CSS file, create a class named whatever you like. Use .flickr for clarity. Make it look the way you want your images to look. |
| 11 |
|
Example: |
| 12 |
|
.flickr { |
| 13 |
|
border: 2px solid #333; |
| 14 |
|
padding: 4px; |
| 15 |
|
margin: 6px; |
| 16 |
|
} |
| 17 |
|
e) create a directory somewhere your web server has access to, make this directory rw for the server |
| 18 |
|
f) enter the directory path into "Cache Location:" on the setup page |
| 19 |
|
g) Enjoy |
| 20 |
|
z) Send an email to jluster@jluster.org and tell me you're testing the module. See Jonas' beggings for petty cash for the |
| 21 |
|
"let Jonas sleep" hotel fund. Donate. Make me happy. |
| 22 |
|
|
| 23 |
|
WHAT IT DOES: |
| 24 |
|
============= |
| 25 |
|
If added as an input filter, allows you to add images from your flickr account to your postings like so: {{<tag>:<photo_id>}}, |
| 26 |
|
where <tag> can be: |
| 27 |
|
|
| 28 |
|
flickr and flickr_m - get a "medium" size image from Flickr |
| 29 |
|
flickrnl - same as flickr, but this time without a link back. Make sure to set one yourself, or you violate the AUP |
| 30 |
|
flickrtn and flickr_s - a thumbnail (75x75) |
| 31 |
|
flickr_t - 100x sized image |
| 32 |
|
flickrbig - 500x sized image |
| 33 |
|
|
| 34 |
|
If installed, a new page, called /flickr will show all your photosets, as well. This page can be themed. In your theme file add a function called <themename>_flickr_photoset. See theme_flickr_photoset inside the module for an example. |
| 35 |
|
|
| 36 |
|
WHAT'S NEXT: |
| 37 |
|
============ |
| 38 |
|
|
| 39 |
|
a) Per registered user flickrsets |
| 40 |
|
a/1) FotoBuzz support |
| 41 |
|
b) more functions |
| 42 |
|
c) moblogs and daily-picture setups |
| 43 |
|
d) random image |
| 44 |
|
e) more coolness |
| 45 |
|
f) uploads from Drupal |