开发者 | altert |
---|---|
更新时间 | 2017年8月20日 01:21 |
捐献地址: | 去捐款 |
PHP版本: | 4.0.0 及以上 |
WordPress版本: | 4.8.1 |
版权: | New BSD License |
版权网址: | 版权信息 |
openseadragon="true"
to gallery shortcode. You can also use Media options to replace all galleries with Zoom OpenSeadragon gallery.
To show zoomable images, e.g. Deep Zoom images, you need to add paths of them to zoomimages attribute of shortcode, for example
[gallery openseadragon="true" zoomimages="/example.com/zoom/zoom1.dzi,/example.com/zoom/zoom2.dzi"]
Other attributes:
width
- width of Seadragon Zoom, 600px by defaultheight
- height of Seadragon Zoom, 600px by defaultcolumns
- number of columns in grid viewnoattachments
- do not use images, attached to post (for example, when you need to display only DeepZoom images)captions
- display captionsshownavigationcontrol
- show zoom in/out/home/full buttons, true by defaultshowzoomcontrol
- show zoom buttons, true by defaultshowhomecontrol
- show home button, true by defaultshowfullpagecontrol
- show fullscreen button, true by defaultshowrotationcontrol
- show rotation buttons, false by defaultsequencemode
- display pictures in sequence mode, one by one instead of gridshowsequencecontrol
- show next/prev buttons for sequence mode, true by defaultshownavigator
- show navigator minimapnavigatorid
- id of navigator div, autocreated if left emptynavigatorposition
- position of navigator minimap, TOP_RIGHT is defaultshowreferencestrip
- show thumbnails of images, false by defaultreferencestripsizeratio
- ratio of thumbnails sizes to deepzoom size, 0.2 by defaultreferencestripposition
- position of reference strip, BOTTOM_LEFT by defaultreferencestripscroll
- type of reference scroll, 'horizontal' by defaultTo replace wordpress gallery with Zoom OpenSeadragon you need to add openseadragon="true" to gallery shortcode.
Use Zoom OpenSeadragon Options section in Settings => Media.
See http://openseadragon.github.io/examples/creating-zooming-images/