|
allowedUrls |
Regex |
- |
2.09 |
This option expands the allowed URLs for images. By default, YoxView considers as
images only URLs that end with '.jpg', 'jpeg', '.png' or '.gif'.
Use this option in case your images are served dynamically from the server, as a
stream rather than an image file.
For example, to allow YoxView to display images that are generated with PHP, and have a URL of */image.php?imageId=(number), set this option to:
/\/image.php\?imageId=(?:\d+)$/i |
|
allowInternalLinks |
Boolean |
false |
2.0 |
If set to true, local links (with anchors, e.g '#options', 'flashPanel', etc.) are
read and displayed by YoxView. |
|
autoHideInfo |
Boolean |
true |
1.85 |
If set to false, the info bar (with image count and title) is always displayed. |
|
autoHideMenu |
Boolean |
true |
1.85 |
If set to false, the menu bar is always displayed. |
|
autoPlay |
Boolean |
false |
1.1 |
If true, slideshow mode starts when the popup opens. |
|
backgroundColor |
String |
'#000000' |
0.9 |
The RGB hex color used to shade the website when the viewer's popup is on display. Use the full 6 characters, not the short 3-chars version. |
|
backgroundOpacity |
Float, 0-1 |
0.8 |
0.9 |
The opacity of the background used to shade the website. Values can be between 0 and 1. |
|
buttonsFadeTime |
Number |
500 |
0.9 |
The time in milliseconds to show the viewer's buttons when it's opened. Setting
this to 0 forces "Next" and "Prev" buttons to remain visible. |
|
cacheBuffer |
Number |
5 |
1.98 |
The number of images to cache ahead of the current image (directional, depends on
the current viewing direction). This is the number of images that are cached before
the viewer's popup is loaded, unless the option cacheImagesInBackground
is set to false.
If you wish to cache all the images at once, set this to 0. |
|
cacheImagesInBackground |
Boolean |
true |
0.9 |
If true, full-size images are cached even while the gallery hasn't been opened yet. |
|
controlsInitialFadeTime |
Number |
1500 |
1.88 |
The time, in milliseconds, it takes the menu and prev/next buttons to fade in and
out when the popup is opened. |
|
controlsInitialDisplayTime |
Number |
1000 |
1.88 |
The time, in milliseconds, to display the menu, prev/next buttons and the info bar
when the popup
is opened. Set to 0 to not display them by default |
|
dataFolder |
String |
yoxviewPath + "data/" |
1.0 |
Plugins folder location |
|
dataUrl |
String |
- |
1.9 |
Set this option to a URL from Picasa or Flickr to load images from those serives
(YoxView's data plugins).
More info and demo |
|
defaultDimensions |
Object |
{
flash: { width: 720, height: 560 },
iframe: {width: 1024 }
} |
2.09 |
Default dimensions (width/height) for content types that YoxView can display.
For example, if you'd like all the iframes displayed by YoxView to have a width
of 500px, set this to:
defaultDimensions: { iframe: { width: 500 }}
Setting only one content type doesn't cancel the settings for other types. |
|
flashVideoPlayer |
String |
"jwplayer" |
2.0 |
The name of the Flash video player to use for. At the moment, only jwplayer is supported. |
|
flashVideoPlayerPath |
String |
"/jwplayer/player.swf" |
2.0 |
The path for the used flash video player's SWF file. |
|
infoBackOpacity |
Float, 0-1 |
0.5 |
0.9 |
The opacity of the info bar, at the bottom of the viewer, which contains the image's title and position. Values can be between 0 and 1. |
|
infoBackColor |
String |
'#000000' |
0.9 |
The color of the info bar. Use the full 6 characters, not the short 3-chars version. |
|
infoButtons |
Object |
- |
1.98 |
Use this option to add custom buttons to the info bar (bottom right of the viewer).
More info and demo. |
|
imagesFolder |
String |
yoxviewPath + "images/" |
1.0 |
The folder of the viewer's icons and graphics. |
|
isRTL |
Boolean |
false |
0.9 |
For bidirectional support, switches prev/next sides. For RTL languages such as Hebrew
or Arabic, for example. |
|
lang |
String |
'en' |
0.9 |
The language for tooltips and button names. Value should be the language's two-letter abbreviation (en, es, fr, etc.). A language file should exist in the lang/ folder corresponding to the specified language.
Click here for a list of available languages. |
|
langFolder |
String |
yoxviewPath + "lang/" |
0.9 |
Language packs folder location |
|
linkToOriginalContext |
Boolean |
true |
1.9 |
If true, a small icon is added to the right of the info bar, linking to the image
in its original context, if the image is pulled from an external source, such as
Picasa or Flickr. |
|
loopPlay |
Boolean |
true |
0.9 |
If true, slideshow play starts over after the last image. |
|
menuBackgroundColor |
String |
'#000000' |
2.0 |
The background color of the menu panel. Use the full 6 characters, not the short
3-chars version.
Available only on browsers that support the rgba CSS function (not available
in IE up to version 8). |
|
menuBackgroundOpacity |
Float, 0-1 |
0.8 |
2.0 |
The opacity of the menu panel. Values are between 0 and 1.
Available only on browsers that support the rgba CSS function (not available
in IE up to version 8). |
|
playDelay |
Number |
3000 |
0.9 |
Time in milliseconds to display each image in slideshow mode. |
|
popupMargin |
Number / String |
20 |
2.0 |
The minimum number of pixels between the popup and the window. If the value is a
number, it's the value for top, right, bottom and left margins.
By using a string, it's possible to specify different values for each side. Values
are given like in CSS, but without units, since it's always in pixels (for now):
"20 40" - top and bottom margins are 20px, left and right are 40px.
"20 30 40" - top: 20px, right and left: 30px, bottom: 40px.
"20 30 40 50" - top: 20px, right 30px, bottom 40px, left 50px. |
|
popupResizeTime |
Number |
600 |
1.93 |
The time in milliseconds it takes to make the resize transition from one image to
the next. Set to zero to disable animations when changing images. |
|
renderButtons |
Boolean |
true |
1.1 |
Set to false if you want to implement your own Next/Prev buttons, using the API. |
|
renderInfo |
Boolean |
true |
1.95 |
Set to false to avoid rendering the info bar (in case you want to implement it by
yourself, for example). |
|
renderInfoExternally |
Boolean |
false |
2.0 |
If set to true, the info bar is rendered outside the viewer's window, useful for
skins where you might like to have the bar fixed positioned. |
|
renderInfoPin |
Boolean |
true |
1.95 |
If set to false, the pin/unpin button to the right of the info bar isn't rendered. |
|
renderMenu |
Boolean |
true |
1.1 |
Set to false if you want to implement you own menu (Play/Help/Close) using the API. |
|
showBarsOnOpen |
Boolean |
true |
1.1 |
If true, displays the top (help) bar and bottom (info) bar momentarily when the
popup opens. |
|
showButtonsOnOpen |
Boolean |
true |
1.1 |
If true, displays the Prev/Next buttons momentarily when the popup opens. |
|
showDescription |
Boolean |
true |
2.2 |
If set to false, the description property from imported content (Flickr, YouTube
or custom images JSON data) will not be shown in the viewer's info bar. Note that
this doesn't affect the title, which is shown regardless. |
|
skin |
String |
- |
2.0 |
The name of the skin to display YoxView with. At the moment, only one skin is available:
'top_menu'. |
|
textLinksSelector |
String |
'.yoxviewLink' |
2.1 |
A jQuery selector to identify links that are not thumbnails, which YoxView should
try to open.
Important note - this selector always refers to an anchor element
('<a>'), so you don't need to specify the anchor in the selector. So, instead
of "a.yLink", use ".yLink", or instead of "a:last-child", use ":last-child".
More info and demo |
|
thumbnailsOptions |
Object |
{ thumbnailsClass: "yoxview_thumbnail" } |
2.2 |
See info in Plugins page |
|
titleAttribute |
String |
'title' |
1.0 |
The thumbnail's attribute to use as the image's text inside YoxView. For example,
to use the ALT attribute, set this to 'alt'. |
|
titleDisplayDuration |
Number |
2000 |
0.9 |
The time in milliseconds to display the image's title, after which it fades out. |
|
titlePadding |
Number |
6 |
0.9 |
Padding, in pixels, for the image's title. |