Parameters for Magic 360™
Parameter |
Default |
Options |
Description |
Core configuration |
filename |
|
e.g. your-image-name-{row}-{col}.jpg |
The format of your image file names. |
filepath |
|
e.g. /your/image/location/ |
Folder for images. Only needed if different from img src folder. |
columns |
36 |
numeric |
Number of images per row. |
rows |
1 |
numeric |
Number of images per column. |
start-column |
1 |
numeric or auto |
Column from which to start spin. auto will start from middle. |
start-row |
auto |
numeric or auto |
Row from which to start spin. auto will start from middle. |
loop-column |
true |
true / false |
Continue spin after the last image on X-axis. |
loop-row |
false |
true / false |
Continue spin after the last image on Y-axis. |
User experience |
spin |
drag |
drag / hover |
Method for spinning the image. |
autospin |
once |
once / twice / infinite / off |
Automatically spin the image on page load. |
autospin-start |
load |
load / hover / click / or combination e.g. load,hover |
Trigger the autospin on page load, click or hover. |
autospin-stop |
click |
click / hover / never |
Stop autospin on click. |
speed |
50 |
0-100 |
Speed of spin (100 = fast). |
smoothing |
true |
true / false |
Smoothly stop the image spinning. |
Magnifier |
magnify |
false |
true / false |
Whether you want to show a magnifier. |
magnifier-size |
80% |
% of small image width or fixed size in px |
Size of the magnifier. |
magnify-filename |
|
e.g. your-bigimage-name-{row}-{col}.jpg |
The format of your large image file names. |
magnify-filepath |
|
e.g. /your/image/location/ |
Folder for large images. Only needed if different from href folder. |
Initialization |
loading-text |
Loading... |
text |
Text displayed while images are loading. |
initialize-on |
load |
load / hover / click |
When to download the images. |