nextgen gallrey详细参数-怎样调用单独图片Single Picture
苗爹在这里给大家介绍运用nextgen gallrey 调用单独图片的参数
To show a single picture use the tag : [ singlepic id=x ]. It resizes and modify the picture on the fly (with no manipulation at the orginal picture) .
要显示单独的图片可以使用这样的标签:[ singlepic id=x ].它将重新调整和修改输出的图片,而不会运在原图上做任何更改。
Tag explanation :
调用单独图片的标签解释:
[ singlepic id=x w=width h=height mode=web20|watermark float=left|right ]
(without the spaces after/before the brakes)
- id : this is the image id id就是想要调用的图片的id
- width : max. width (the resize method work propotional) 最大宽度(修改大小将保持原图的长宽比)
- height : max. height 最大高度
- mode (optional) : 模式(可选)
- “web20” : added a refelection effect 使用“web20”可添加镜面效果
- “watermark” : added a watermark, defined in the settings 使用“watermark”可添加水印,在设置里定义
- float (optional) : 悬浮
- “left” : added CSS style float: left; 加入css样式悬浮
- “right” : added CSS style float: right; 加入css样式悬浮
Example : 例如
[ singlepic id=x h=height w=weight mode=web20 ]
(without the spaces after/before the brakes)
(请去掉方括号前后的空格)
And a look on the watermark function :
看一下加水印的效果
[ singlepic id=150 h=300 mode=watermark ]
(without the spaces after/before the brakes)
(请去掉方括号前后的空格)
本页英文部分引用于http://nextgen-gallery.com/singlepic/
插件的作者Alex Rabe
汉语部分由i981的苗爹自行翻译,如需引用请注明出处
原创文章,转载请注明: 转载自i981的世界


让评论来的更猛烈些吧