信智网络

首页 > 网站建设 > Joomla+Virtuemart建站 > yoogallery 下载和代码配置

 

yoogallery 下载和代码配置

外贸建站 Joomla+Virtuemart建站 1069

{yoogallery src=[/images/stories/fruit/] width=[100] height=[150] title=[My Gallery] style=[slideshow] effect=[fade] spotlight=[1] prefix=[thumb100_] thumb_cache_dir=[thumbs100] thumb_cache_time=[1440] load_lightbox=[1] thumb=[polaroid] rel=[lightbox[mygallery]] load_lightbox=[1] resize=[1] order=[asc] count=[10]}


yoogallery下载,点击这里下载

配置:具体见相关的代码!

Basic syntax: {yoogallery src=[/images/stories/fruit/]}

Syntax using custom thumbnail height: {yoogallery src=[/images/stories/fruit/] height=[200]}

Syntax using slideshow style: {yoogallery src=[/images/stories/fruit/] style=[slideshow]}

Syntax using polariod thumbnails: {yoogallery src=[/images/stories/fruit/] thumb=[polaroid]}

Syntax using all possible parameters: {yoogallery src=[/images/stories/fruit/] width=[100] height=[150] title=[My Gallery] style=[slideshow] effect=[fade] spotlight=[1] prefix=[thumb100_] thumb_cache_dir=[thumbs100] thumb_cache_time=[1440] load_lightbox=[1] thumb=[polaroid] rel=[lightbox[mygallery]] load_lightbox=[1] resize=[1] order=[asc] count=[10]}

 

Source Directory
Image source directory as relative path to the Joomla directory
Plugin Parameter Example: src=[/images/stories/fruit/]

Style
The YOOgallery styling (Lightbox, Slideshow)
Plugin Parameter Example: style=[slideshow]

Slideshow Transition
Set the image transition effect. Only for slideshow style (Fade, Wipe , Slide, Random)
Plugin Parameter Example: effect=[fade]

Thumbnail Style
The thumbnail style (Default, Polaroid, Rounded, Cut, Plain)
Plugin Parameter Example: thumb=[polaroid]

Thumbnail Ordering
The thumbnail ordering(Ascending, Descending, Random)
Plugin Parameter Example: order=[asc]

Thumbnail Spotlight
Thumbnail opacity will change on mouse hover
Plugin Parameter Example: spotlight=[0]

Thumbnail Width (px)
Default thumbnail width in pixel (set to 0 to auto-calculate width)
Plugin Parameter Example: width=[160]

Thumbnail Height (px)
Default thumbnail height in pixel (set to 0 to auto-calculate height)
Plugin Parameter Example: height=[100]

Thumbnail Resizing
If set the source image width/height are resized to match the thumbnail width/height
Plugin Parameter Example: resize=[1]

Thumbnail Count
Limit the number of thumbnails to show, set it to 0 to show all thumbnails
Plugin Parameter Example: count=[10]

Thumbnail Title
Thumbnail title will be used as default description in lightbox, instead of the filename
Plugin Parameter Example: title=[My Gallery]

Thumbnail File Prefix
Default thumbnail file prefix
Plugin Parameter Example: prefix=[thumb_]

Thumbnail Cache Directory
Default thumbnail cache directory name which resides inside the source images directory
Plugin Parameter Example: thumb_cache_dir=[thumbs]

Thumbnail Cache Time (min)
Period of time (minutes) until the thumbnail image is re-cached
Plugin Parameter Example: thumb_cache_time=[1440]

Load Lightbox
Load included lightbox JavaScript
Plugin Parameter Example: load_lightbox=[1]

Lightbox Rel Parameter
If set the custom rel parameter is used for the lightbox, Example lightbox[mygallery]
Plugin Parameter Example: rel=[lightbox[mygallery]]




文章评论

 
E-mail:
内容: