Title: Flickr API
Author: David Walker
Published: <strong>26 ມັງກອນ 2010</strong>
Last modified: 24 ເມສາ 2012

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/flickrapi.svg)

# Flickr API

 ໂດຍ [David Walker](https://profiles.wordpress.org/polaraction/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/flickrapi.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/flickrapi/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/flickrapi/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/flickrapi/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/flickrapi/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/flickrapi/)

## ຄຳອະທິບາຍ

This plugin allows you to easily display Flickr photos on your site and using the
Flickr API doesn’t limit you to
 the standard 20 photos. It supports user, set, 
favorite, group and public photostreams.

The plugin is relatively easy to setup and configure via an options panel.
 It also
has support for an image cache located on your server.

### Feedback and Support

For API problems you can visit the plugin page (http://malton-webdesign.co.uk/flickrapi)

### Advanced

The plugin also supports a number of parameters, allowing you to have multiple instances
across your

site.

 1. `'type' => 'user'` – The type of Flickr images that you want to show. Possible 
    values: ‘user’,

‘favorite’, ‘set’, ‘group’, ‘public’
 2. `'api' => ''` – Optional but the point 
of the plugin! 2. `'tags' => ''` – Optional: Can be used with type = ‘user’ or ‘
public’, comma separated 3. `'set' => ''` – Optional: To be used with type = ‘set’
4. `'id' => ''` – Optional: Your Group or User ID. To be used with type = ‘user’
or ‘group’ 5. `'do_cache' => false` – Enable the image cache 6. `'cache_sizes' =
> array('square')` – What are the image sizes we want to cache locally? Possible
values: ‘square’, ‘thumbnail’, ‘small’, ‘medium’ 7. `'cache_path' => ''` – Where
the images are saved (server path) 8. `'cache_uri' => ''` – The URI associated to
the cache path (web address) 9. `'num_items' => 4` – The number of images that you
want to display 10. `'before_list' => ''` – The HTML to print before the list of
images 11. `'html' => '<a href="%flickr_page%" title="%title%"><img src="%image_square%"
alt="%title%"></a&>'` –

the code to print out for each image.
 Meta tags available: %flickr_page%, %title%,%
image_small%, %image_square%, %image_thumbnail%,

%image_medium%, %image_large%
 12. `'default_title' => "Untitled Flickr photo"` –
the default title 13. `'after_list' => ''` – the HTML to print after the list of
images

**Example 1**

    ```
      get_flickrAPI(array('num_items' => 36, 
                          'type' => 'group', 
                          'tags' => '',
                          'id' => '12325216@N00',
                          'api' => '3370ecbd3e604245581eb4955fd6xxxx')); ?>
    ```

This would show the 36 most recent group photos

**Example 2**

    ```
      get_flickrAPI(array('num_items' => 30, 
                          'type' => 'user', 
                          'tags' => '',
                          'id' => '10529805@N00',
                          'api' => '3370ecbd3e604245581eb4955fd6xxxx')); ?>
    ```

This would show the 30 most recent thumbnail sized photos from the specified user’s
set.

**Example 3**

    ```
      get_flickrAPI(array('num_items' => 30, 
                          'type' => 'public', 
                          'text' => '',
                          'tags' => '',
                          'api' => '3370ecbd3e604245581eb4955fd6xxxx')); ?>
    ```

This would show the 30 most recent photos from all of FLickr.

### Plugin History

 * 0.7 – Change of the Support page to new website
 * 0.6 – Removed the Large option as FLickr seem to have removed it.
 * 0.5 – Added search by Text facilty
 * 0.4 – Debug Option Added
 * 0.3 – Upgrade bug fix.
 * 0.2 – Readme.txt updated properly
 * 0.1 – Beta release (Plugin amended from the original “eightface” flickrRSS plugin

## ການຕິດຕັ້ງ

 1. Put the flickr API files into your plugins directory
 2. If you want to cache images, create a directory and make it writable
 3. Activate the plugin
 4. Configure your settings via the panel in Options
 5. Add `<?php get_flickrAPI(); ?>` somewhere in your templates

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Flickr API” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດ
ທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ David Walker ](https://profiles.wordpress.org/polaraction/)

[ແປ “Flickr API” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/flickrapi)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/flickrapi/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/flickrapi/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/flickrapi/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/flickrapi/?limit=100&mode=stop_on_copy&format=rss).

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.7**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **14 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **20+**
 *  ເວີຊັນ WordPress ** 2.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.3.2**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/flickrapi/)
 * ແທັກ
 * [api](https://lo.wordpress.org/plugins/tags/api/)[flickr](https://lo.wordpress.org/plugins/tags/flickr/)
   [images](https://lo.wordpress.org/plugins/tags/images/)[photos](https://lo.wordpress.org/plugins/tags/photos/)
   [sidebar](https://lo.wordpress.org/plugins/tags/sidebar/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/flickrapi/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[Your review](https://wordpress.org/support/plugin/flickrapi/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/flickrapi/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ David Walker ](https://profiles.wordpress.org/polaraction/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/flickrapi/)