EEDU Blog: 博客 ·  资讯 ·  论坛 ·  留言
登录 新用户? 注册   |  

ahaoxie's blog

订阅博客:

环境生态网站长

阅读全文

Nextgen Gallery的代码引用

Nextgen Gallery 是个强大的图片展示插件,支持RSS输出,有幻灯片侧边栏,图集展,标签法显示图片……

代码引用的简单说明:

(使用时要把代码首尾空格去掉,图集是相册的子集)。

1、插入一个幻灯片: [ slideshow id=x w=width h=height ]

效果预览: http://nextgen.boelinger.com/slideshow

2、插入一个相册: [ album id=x template=extend ] 或 [ album id=x template=compact ]

#extend 是比较大的展示扩展框

#compact 是比较紧的展示扩展框

效果预览: http://nextgen.boelinger.com/album/

3、 插入一个图集: [ nggallery id=x ] or [ nggallery id=1 template=sample1 ]

显示图集有可以有不同的边框效果,方法是加上template=sample1,后面参数设置有sample1, sample2,

sample3, sample4, sample5, sample6

效果预览: http://nextgen.boelinger.com/gallery-page

4、插入一张图片: [ singlepic id=x w=width h=height mode=web20/watermark float=left/right ]

#mode 是可选项,可选参数有 web20(倒影效果),watermark(水印效果)

#float 是可选项,可选参数有 left(左对齐),right(右对齐)

效果预览: http://nextgen.boelinger.com/singlepic/

5、插入图片浏览器: [ imagebrowser id=x ]

效果预览: http://nextgen.boelinger.com/image-browser

6、显示相册或图集里有相同标签的照片 [ nggtags album=tags ] or [ nggtags gallery=tags ]

#tags 是指你给照片所设置的标签

效果预览:http://nextgen-gallery.com/albumtags/

效果预览:http://nextgen-gallery.com/gallery-tags/

其本展示调用有这些,但还有一些物殊展示:动感幻灯片展示和视频类展示。如果要实现这两个展示要先分别

安装两个插件: NextGEN Monoslideshow 和Revolt

动感幻灯片效果预览:http://nextgen-gallery.com/slideshow/nextgen-monoslideshow/

视频效果预览:http://nextgen-gallery.com/wordtube-20/plugin-support/

 

发表于: 2012-02-25 05:16 | 全文(查看: 337) | 评论(0) | 本文地址 | 收藏 
分类: 小窍门(95)   标签: Nextgen Gallery  新知  

"Nextgen Gallery的代码引用" 的评论: (共 0 条)

你对本文的评论:

登录后再作评论
Page was generated in 58 milliseconds