Magic 360 Flash™ integration
Spin and zoom your products in gorgeous 360° rotation with this Flash 360 spin software.
1. Photography
You need a series of product photos to spin your products. If you don't have suitable photos, use our photography service and we'll shoot beautiful photos for you.
2. Number of images
Spin and zoom requires a lot of images. For a smooth spin, 36 images is best, but that means you also need 36 larger images for zooming. To reduce the wait time while images download, you could use only 18 small images and 18 large images. 18 images will download in half the time as 36 images, the user can still see the product from all angles, it just won't be as smooth.
This 18, 36, 72 images will help you decide.
Alternatively, choose Magic 360™ JavaScript instead of Magic 360™ Flash because it downloads the large image on demand, therefore saving a huge amount of data transfer.
3. Installation
- Download the Magic 360 Flash™ demo (zip).
- Upload themagic360flash folder to your server.
- Reference the magic360flash.js file before your </head> tag.
(If you cannot access the head section of your page, reference the files elsewhere such as the main content of your page.)
- Insert your main image with an img tag.
- Add a rel attribute with all your images each separated by *.
- Wrap an a tag around your img, with an href of # and a class of Magic360Flash.
- Add all your large images in a rel attribute of the a tag, separated by *.
Your HTML code could look something like this:
<html>
<head>
<title>Magic 360 Flash example</title>
<script src="magic360flash/magic360flash.js" type="text/javascript"></script>
</head>
<body>
<a class="Magic360Flash" href="#" rel="01-big.jpg*02-big.jpg*03-big.jpg*04-big.jpg*05-big.jpg*06-big.jpg*07-big.jpg*08-big.jpg*09-big.jpg*10-big.jpg*11-big.jpg*12-big.jpg*13-big.jpg*14-big.jpg*15-big.jpg*16-big.jpg*17-big.jpg*18-big.jpg><img src="01.jpg" rel="01.jpg*02.jpg*03.jpg*04.jpg*05.jpg*06.jpg*07.jpg*08.jpg*09.jpg*10.jpg*11.jpg*12.jpg*13.jpg*14.jpg*15.jpg*16.jpg*17.jpg*18.jpg"/></a>
</body>
</html>
4. How to customize
There are 22 options available to adjust, listed in the Parameters table below. To change your settings, add a <script> tag before your </head> tag like so:
<script type="text/javascript">
Magic360Flash.options = {
'speed' : 15,
'magnifier : 'square',
'magnifier-effect' : 'pulse'
}
</script>
Add a comma after setting each value you choose, except for the last value otherwise Internet Explorer will throw an error (a well-known bug that Microsoft fixed in IE8).
5. Magnifier
The magnifier shape can be a circle or square. The height and width can be set by 'magnifier-size' or individually like so:
<script type="text/javascript">
Magic360Flash.options = {
'magnifier' : 'square',
'magnifier-size-x' : '70%',
'magnifier-size-y' : '50%'
}
</script>
The magnifier can have a glow or shadow behind it. It can fade in on click, or it can pulse on click, or it can be set to 'none' to show immediately on click. The duration of the fade or pule can be chosen in milliseconds. Example:
<script type="text/javascript">
Magic360Flash.options = {
'magnifier-effect' : 'pulse'
'magnifier-filter' : 'shadow'
'magnifier-time' : 100
}
</script>
The magnifier border width and color can be changed, for example:
<script type="text/javascript">
Magic360Flash.options = {
'magnifier-border-color' : '#EFEFEF',
'magnifier-border-width' : 2
}
</script>
6. Faster downloading
Two tricks can help you reduce the time taken to download the images. Ideally, you would use two sets of images - a small set for the spin and a large set for the zoom - but you could use just one set of images instead.
Use one set of large images and let Magic 360 Flash™ scale them down for use as small images. The result is not as sharp, but it means you don't need to load a separate set of small images. This example uses only 18 large images and 1 small image:
<a class="Magic360Flash" href="#" rel="01-big.jpg*02-big.jpg*03-big.jpg*04-big.jpg*05-big.jpg*06-big.jpg*07-big.jpg*08-big.jpg*09-big.jpg*10-big.jpg*11-big.jpg*12-big.jpg*13-big.jpg*14-big.jpg*15-big.jpg*16-big.jpg*17-big.jpg*18-big.jpg><img src="01.jpg" rel="01.jpg*02.jpg*03.jpg*04.jpg*05.jpg*06.jpg*07.jpg*08.jpg*09.jpg*10.jpg*11.jpg*12.jpg*13.jpg*14.jpg*15.jpg*16.jpg*17.jpg*18.jpg"><img src="01-small.jpg"/></a>
Alternatively, use one set of small images and let Magic 360 Flash™ scale them up for use as large images. The zoomed image is not sharp but the results are better than nothing if you don't have higher resolution images available. Use the 'magnifier-simulate' parameter and a value of 150% to 200%. For example:
<html>
<head>
<title>Magic 360 Flash magnifier simulation</title>
<script src="magic360flash/magic360flash.js" type="text/javascript"></script>
<script type="text/javascript">
Magic360Flash.options = {
'magnifier-simulate' : '150%'
}
</script>
</head>
<body>
<a class="Magic360Flash" href="#"><img src="01.jpg" rel="01.jpg*02.jpg*03.jpg*04.jpg*05.jpg*06.jpg*07.jpg*08.jpg*09.jpg*10.jpg*11.jpg*12.jpg*13.jpg*14.jpg*15.jpg*16.jpg*17.jpg*18.jpg*19.jpg*20.jpg*21.jpg*22.jpg*23.jpg*24.jpg*25.jpg*26.jpg*27.jpg*28.jpg*29.jpg*30.jpg*31.jpg*32.jpg*33.jpg*34.jpg*35.jpg*36.jpg"/></a>
</body>
</html>
7. Speed
Speed up or slow down the rotation speed so that users can easily see your product from every angle. The default is 10. Double the speed by changing it to 20:
<script type="text/javascript">
Magic360Flash.options = {
'speed' : 20
}
</script>
8. Smoothing
Smoothing will gradually slow down the image when you stop spinning it. You can increase smoothing, decrease it or remove it. For example, this will triple the amount of smoothing (the default is 10):
<script type="text/javascript">
Magic360Flash.options = {
'smoothing' : 30
}
</script>
9. Blur
Motion blur is applied to the image as it spins, making it more realistic. The faster you spin, the more it blur. The default level is 10. Adjust this number to increase/decrease blur, or set it to 0 to remove blur:
<script type="text/javascript">
Magic360Flash.options = {
'blur' : 0
}
</script>
10. Spin method
The most natural user interaction is to spin the image as you move your mouse cursor over it. You can change the default 'hover' to make it spin on 'click' or 'drag'. Example:
<script type="text/javascript">
Magic360Flash.options = {
'spin' : 'drag'
}
</script>
11. Loading bar
A progress bar displays above your product while all the images are downloading. You can remove the bar by setting the height to zero:
<script type="text/javascript">
Magic360Flash.options = {
'progress-height' : 0
}
</script>
This example below will change the color to green and the height to 16px:
<script type="text/javascript">
Magic360Flash.options = {
'progress-color' : '#99CC33',
'progress-height' : 16
}
</script>
12. Autostart
If you want to make the spin a centrepiece of your page, consider spinning it automatically once the images are loaded. Autostart the spin like so:
<script type="text/javascript">
Magic360Flash.options = {
'autostart' : 'true'
}
</script>
The spin will stop once clicked. Or you can let it spin continuously like so:
<script type="text/javascript">
Magic360Flash.options = {
autostart : true,
'pause-on-click' : 'false'
}
</script>
13. Delimiter
Each image in your spin must be separated by a *. Or you may choose another character, such as ~ like so:
<script type="text/javascript">
one set of large images. = {
'delimiter' : '~'
}
</script>
14. SWF initialization
The images for the spin will download automatically, providing at least part of the image can be seen in the users browser. If the 360 spin is out of view (e.g. further down the page) then the images will load when the user scrolls down. This prevents unnecessary bandwidth usage and is a feature of the Flash player.
15. Parameters
| Parameter | Default | Options | Description |
|---|---|---|---|
| spin | hover | drag/click/hover/none | Method for spinning the image |
| autostart | false | true/false | Automatically start spin on page load |
| pause-on-click | true | true/false | Pause autostarted spin on click |
| smoothing | 10 | Numeric, 0=off | Smoothly stop the image spinning |
| blur | 10 | Numeric | Motion blur effect |
| speed | 10 | Numeric | Speed of spin |
| border-color | #cccccc | Outside border color | |
| border-width | 0 | Numeric, px | Outside border width |
| progress-color | #cccccc | Color of the loading bar | |
| progress-height | 10 | Numeric, px | Height of the loading bar |
| background | #ffffff | empty=transparent | Background color if using transparent PNGs |
| delimiter | * | Delimiter for images in the REL attribute | |
| magnifier | circle | circle/square | Magnifier shape |
| magnifier-size | 66% | % of small image width or fixed size in px | Magnifier size |
| magnifier-size-x | 66% | % of small image width or fixed size in px | Magnifier width |
| magnifier-size-y | 66% | % of small image width or fixed size in px | Magnifier height |
| magnifier-effect | fade | non//pulse/fade | Magnifier appearing effect |
| magnifier-filter | glow | glow/shadow | Magnifier effect |
| magnifier-time | 30 | milliseconds | Duration of magnifier to fade-in effect |
| magnifier-simulate | false | % ('false'=off) | Create the zoom by scaling up the small images e.g. 200% |
| magnifier-border-color | #cccccc | Magnifier border color | |
| magnifier-border-width | 1 | px | Magnifier border thickness |
30 day money-back guarantee.
Free license for non-commercial use
30 minutes free technical support.
Download a module:
- Magic 360 Flash™ for CS-Cart
- Magic 360 Flash™ for Magento
- Magic 360 Flash™ for redSHOP
- Magic 360 Flash™ for VirtueMart
- Magic 360 Flash™ for PrestaShop
- Magic 360 Flash™ for Zen Cart
- Magic 360 Flash™ for CubeCart
- Magic 360 Flash™ for X-Cart
- Magic 360 Flash™ for OpenCart
- Magic 360 Flash™ for LiteCommerce

