For my ‘photogallery’ application I got a bit tired of the Smoothgallery implementation. Basically I was looking for sometime more attractive and less ‘busy’. That is when I bumped into ImageFlow a JS image gallery in a iTunes alike way (and probably more Apple software which I do not use).
Here is what it looks like in my app:
Some rules for implementing ImageFlow in your Domino app:
- ImageFlow is written for PHP applications, so for each image you include the reference gets rewritten in a following format:
<img width=”400″ height=”300″ alt=”Image 4″ longdesc=”img/img1.png” src=”reflect2.php?img=img/img1.png” style=”cursor: default; display: block; left: 351.665px; height: 329.215px; width: 292.635px; top: 118.524px; visibility: visible; z-index: 18;”/>
If you look at the imageflow.packed.js package you get lost since it is packed. Dive in the imageflow.js and search for the following lines:
var src = node.getAttribute(‘src’,2);
//src = ‘reflect’+version+’.php?img=’+src+thisObject.reflectionGET;
Change the last line into:
src = src+thisObject.reflectionGET;
Then upload the following files to your database:
- slider.png (the dot image that is used on the slider)
In the download on the ImageFlow site in the index.html you find the source how to structure your HTML. Modify the references to the images in your Notes app and you are good to go!
Happy coding =)