该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Flickr-stream

描述

This plugin allows you to embed your own or others photosets and galleries directly into your WordPress site. This plugin was designed to create a cleaner and simpler interface, both in administration and the frontend of the site.

The only task that has to be completed to use this plugin is to get a API key from Flickr. Afterwards it is as simple as plugging in options to generate the widget or to create shortcodes that can be placed on any page or post within your wordpress site.

To create a shortcode first click ‘Create Shortcode’ and enter the various options for the photoset or gallery. Make sure to use the right ‘ID’ format (see FAQ’s) based on whether you are adding a photoset or gallery. Click ‘Save New Shortcode’ and then copy and paste the shortcode into where you want it to appear within your site. For the widget the instructions are the same except for the copy and pasting part, of course.

Features Include:

  • Hide or show title of photoset or gallery
  • Choose between small or medium thumbnails for shortcode embeds
  • Cache photo data to prevent Flickr API calls each time a page is generated
  • Random or from the top photo thumbnail selection
  • Link photos to either Flickr or a lightbox (Magnific Popup plugin included, if needed)
  • Choose to hide photo captions or not
  • Set photoset / gallery alignment to either left, right, or center
  • Set color of photo highlights

屏幕截图

  • A Flickr Set embedded on a page
  • The main settings admin page
  • The shortcode admin page

安装

  1. Unzip ‘flickr-stream.zip’ and upload flickr-stream to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Get a Flickr API key and place it in the Flickrstream settings menu under Settings
  4. Start creating shortcodes and or a sidebar widget

常见问题

How many images can I include on a page or in the widget?

The widget will take up to 100 photos, while a page or post can have up to 100 photos per shortcode. The amount of shortcodes that can be used per page or post is limitless.

Should I include the Magnific Popup scripts?

Most likely yes, since it is a newer lightbox added with version 1.2 of this plugin. The Magnific Popup scripts should only be included if you are not already using another Magnific Popup plugin that adds the scripts already.

Should I cache my photosets / galleries?

Caching removes the need to query the Flickr API every time a page is loaded that contains a gallery or photoset, which will speed up your site. However, not caching allows you to have the photos change every time a page is loaded.

评价

2017 年 5 月 18 日
After trying 20 other Flickr plugins to no avail I came across this one and set it up and it worked didn't break my SSL and it's easy to use
阅读所有2条评价

贡献者及开发者

“Flickr-stream” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Flickr-stream”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3

  • Removed option to add or remove lightbox dependencies, now loading by default
  • Minor code optimizations
  • More mobile friendly for small devices – backend
  • Fixed an issue where some photosets loading without https
  • Added MultiSite compatibility

1.2.9

  • Improved mobile device administration
  • Changed underlying framework of plugin
  • Cleaning of code and general bug fixes

1.2.7

  • Modified code for better error resolution to attempt to filter out odd bugs certain users have reported

1.2.6

  • Renamed “Set” to “Album” to better coincide with Flickr naming schemes
  • Updated Magnific Popup from version 0.9.3 to 1.1.0
  • Corrected galleries so they can be added with just an id instead of URL; to match the way albums are added
  • Minified CSS files
  • Corrected some minor CSS bugs
  • Better error checking added

1.2.5

  • Fixed mobile lightbox bug
  • Fixed overflow issue when adding more images than are in a gallery/set
  • Separated main options and shortcodes into two sections
  • Added server-side validation/API checks
  • Fixed issue with widget options not displaying correctly
  • Fixed various API call issues
  • Added ability to change photo highlight color globally

1.2.1

  • Fixed Flickr HTTPS API changeover

1.2

  • Changed lightbox from Fancybox to Magnific Popup, a better responsive lightbox
  • Added the ability to sort shortcodes in the admin screen
  • Prepared plugin for localization
  • Hopefully fixed upgrade scripting issues
  • Isolated multiple galleries on one page / post from one another
  • Added Spanish translation – Andrew Kurtis – WebHostingHub

1.1.5

  • Rebuilt plugin structure to a object based setup
  • Added a mobile photo viewer option for mobile devices
  • Improved administrative interface
  • Added previews of photos in admin interface
  • Improved plugin security

1.1

  • Simplified code and fixed some random bugs
  • Added the inclusion of Fancybox scripts in case user does not have Fancybox
  • Added alignment setting to galleries / photosets
  • Added hide caption setting to galleries / photosets
  • Fixed admin form confirmation messages
  • Added confirmation dialog for deletions

1.0.2

  • Fixed activation issue for updates resetting options

1.0.1

  • Fixed script include issue for stylesheet

1.0

  • Initial release of Flickr-stream