#PLUG1# |
Flip for Gallery is based on Flip from flShow and a slightly modified version of LightBox 2.04 by Lokesh Dhakar. It is based on a directory structure created by Svarrers Gallery (or Lightbox version) and offers the possibility to replace the gallery view with a flash carousel view of your Gallery. Simply follow instructions in gallery creation by Michael Svarrer. When your gallery and thumbnail directory are created replace the call to #CMSimple gallery('....');# with a call to #CMSimple flipgl('....');#. Adobe flash version 9 or higher must be installed on client pc. |
Download and uncompress flip_for_gallery.zip
Upload the entire flipgl directory to your "plugins" directory.
Upload lightbox directory to the root of your website.
The suplied Lightbox verison 2.04 is modifyed with auto-resize of images and changes to run with carouselgl and flipgl at the end of the lightbox.js file.
Insert:
<link rel="stylesheet" href="./lightbox/css/lightbox.css" type="text/css" media="screen" />
<script src="./lightbox/js/prototype.js" type="text/javascript">script>
<script src="./lightbox/js/scriptaculous.js?load=effects, builder" type="text/javascript">script>
<script src="./lightbox/js/lightbox.js" type="text/javascript">script>
in the head section of your template.
debug | true, false |
background | #RRGGBB, transparent |
friction | [1,100] |
fullscreen | true, false |
fieldOfView | [1,179] |
margins top | [-1000,1000] pixels |
margins left | [-1000,1000] pixels |
margins bottom | [-1000,1000] pixels |
margins right | [-1000,1000] pixels |
interaction flip | auto, mouse, keyboard |
vertical | true, false |
interaction speed | [-360,360] degrees per second |
interaction default_speed | [-360,360] degrees per second |
interaction reset_delay | [0,600] seconds, 0 means never reset |
reflection amount | [0,1000] pixels |
reflection blur | [0,100] blur amount |
reflection distance | [-1000,1000] pixels |
reflection alpha | [0,100] percentage |
lighbox group | insert any name her to group lightbox images, leave it blank to avoid grouping |
More information on flshow.net.
#PLUG2#
The Flip for Gallery with Lighybox plugin is tested with CMSimple versions 3.2 and php versions 4.3 and 5.2. The plugin will probably function in earlier versions of CMSimple. Tested in IE7, IE8, Firefox and Chrome.
version 1.0 (february. 2009)
There is no warranty using this plugin. It will be used on everybody's own risk. We will not assume any liability in case of data losses caused by Flip for Gallery with Lightbox usage.
The Gallery plugin i written by Michael Svarrer
Flip flash is written by Saverio Caminiti
© Jerry Jakobsfeld, August 2008.
#CMSimple $output= preg_replace("/".chr(35)."PLUG1".chr(35)."/",flipgl("./downloads/gallery/"),$c[$s]); $output= preg_replace("/".chr(35)."PLUG2".chr(35)."/",gallery ("./downloads/gallery/"),$output); #
The suplied Lightbox verison 2.04 is modifyed with auto-resize of images and changes to run with carouselgl and flipgl at the end of the lightbox.js file.