Slickr Gallery (AJAX Flickr plugin for Wordpress)

这回给大家介绍的是我新找到的一款很炫的插件,估计有人已经用了…可是我找的很辛苦,还是写在这里吧.

啊..困了,理一下思路明天再来写,大家可以看一下效果@

这是一个flickr for wordpress 的插件.用来将flickr账户链接到自己的blog上做一个相册页面..效果:http://blog.ivandoo.com/photos/(会短暂显示404 not found 这是我暂时没有解决的问题..短暂等待打开页面后一切都是好的!)

这个插件的原型本来应该是Hemingway-Flickr Plugin for Wordpress (discontinued),所以保持了对Hemingway这个theme的良好兼容性..原插件已经停止开发更新了!

记得我原来还是用这个模板的变形来着.

当然除了Hemingway以外,插件仍然有其他模板的兼容文件,放在插件themes文件夹中,可惜包含的不多.所以对于大部分模板来说,还是需要自己调试.我自己的这个模板就是自己调整后的结果.

Slickr Gallery is a very fast, bandwidth-friendly photo gallery plugin for Wordpress. It allows you to pull your Flickr-hosted photos into a gallery section of your blog, as well as easily add Flickr-hosted images to your posts and pages. It is especially useful for people with many Flickr albums/photos.

Slickr Gallery needs a Lightbox plugin to work properly.

This plugin is fully open-source: you are free to use, modify, and redistribute it under the terms of the GPL. This plugin is provided ‘as is’, meaning it is unsupported and comes with no official technical support.

Installation:

  • To install, place the slickr-gallery folder into your /wp-content/plugins/ folder. Log in as admin to activate it (under the Plugins tab), and change Slickr’s settings under Options -> Slickr Gallery.
  • Also activate the Slickr Widget or Hemingway Block if so desired.

Requirements:

  • Your web server/PHP setup will need to have the libcurl library installed in order for this plugin to work.
  • You need to change your post options from the default ?=172 to /year/month/day/ or /postname/.
  • You will need the widgets plugin and a widget-compatible Wordpress theme to use the Slickr Widget.

Customizing:

Please read the README.txt included with Slickr Gallery.
Slickr Gallery is fully customizable via CSS.

To Do:

  • More code optimizations.
  • A few more options for the user.

Version history:

  • 2007-12-11: Updated style sheets, gallery thumbnail size is adjustable, bugfixes.
  • 2007-12-09: Album selection/deselection now works.
  • 2007-11-03: Major under-the-hood tweaks. Available in Wordpress plugin repository.
  • 2007-09-09: Safari fixes.
  • 2007-09-06: little fixes.
  • 2007-08-22: Widget works, intelligent AJAX loading of gallery, minor code speed ups, more valid XHTML.
  • 2007-03-16: Lots of little fixes, improvements and tweaks. Photos tab now works on WP 2.0.x.
  • 2007-02-19: Migrated to phpFlickr 2.0. Even faster, no more XML parsing, libxml no longer needed.
  • 2007-02-18: Massive speedups, made the plugin actually work, etc etc.
  • 2007-02-15: Fixed issues with posting images in blog entries, themes gracefully implemented (consult the included README.txt), albums can be hidden, Hemingway block included in slickr/flickr/themes/hemingway/block/
  • 2007-01-27: Added template for the Default (K2) wordpress theme. Added themes directory. Lots of little changes.
  • 2007-06-05: Fixed issue with blog post integration. Works with WP 2.2

也就是说这个插件有几个必须的条件.

1.需求lightbox for wordpress 插件..上传激活就可以了.

2.需求wordpress支持widget.现在的wordpress都内置了,不是大问题.即便不支持widget,那仅仅是不能在边栏显示flickr而已.不影响相册.

3.wordpress永久链接不能为默认形式.必须更改为/year/month/postname 或者/postname的形式.

4.Your web server/PHP setup will need to have the libcurl library installed in order for this plugin to work.(这一句我不知道怎么翻译,因为有些词汇我不认识!也不太懂太专业的东西.)

安装方法:

1.下载Slickr Gallery(最新程序为0.6.3)

2.上传到plugin文件夹

3.后台激活

4.后台设定.

5.根据模板调整自己的view.php和css文件.文件在plugin/slickr/themes文件夹中.

6.不懂得google一下,或者问一些相关人士..

7.这点最重要,有什么专业点的人能告诉我,为什么我的相册页面的页头显示的是"404 NOT FOUND"?换用了默认模板然后用插件中默认模板的css以后就没有这种问题.

2008-1-20.22:44
又发现一个问题,原因是使用IE打开页面..才发现我这个模板没有在IE下好好优化.最严重的问题就是相册页面无法加载程序.会出现如下错误:
slickr调用错误
我检查了作者的相册页面用IE加载,没有出现此问题,并且运行良好..然后换用默认模板和作者默认css,问题依旧.到这里我就不知道自己到底是什么地方出错了..烦请有心的高手给予指点一下..谢谢!
最后希望大家使用愉快..本站不提供下载,要下载就到作者的页面下载..

PS:由于一些问题,我停用了此插件和lightbox插件.页面头衔是404的问题最后也没有解决..阅微堂作者帮我推敲了一下错误来源,可是并不是如此.至此我也不明原因了.

如果要查看效果请到作者显示页面

About the Author

doo

独立,内向,叛逆而勤于思索... 深知自己一直是一个无法融入社会的异类,自从有了孩子以后才感觉人有的时候真是身不由己.最大的理想是成为优秀的CGer.

Leave a Reply

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>