Jaipho beta is a free script and we hope that you enjoy using it. If you do, here is a way that you can show us that you appreciate the hard work that we've done for you!
Here is short guide how to implement jaipho gallery. Follow this steps, and in best case you'll have your images gallery optimized iPhone version in just 15 minutes.
Download and unzip distribution package.
Showing images on iPhone requires whole screen, so it will require page for itself. Use the index.html as template, rename it as you need e.g. jaipho.php, igallery.php, iphone-gallery.jsp...Also rename the list template list.html if needed.
Default settings excepts that both index.html and jaipho source folder are in the same directory. If you need it different, change value of BASE_URL constant in index.html.
As you can see, jaipho expects images to be loaded into Jph_Dao object.
Here is example how it can be in some PHP case
Optimal thumbnails image size is that neither the with or height is smaller than 75px. For slides, neither the height or width should be more than 480px for iPhone and 1024px for iPad.
If you have larger images, they will be shown as good as optimal, only the load time will be longer.
In this case you should use list.html template too. In this file, you should list all your galleries and link them to main template (index.html) . Do not forget to pass some gallery identifier e.g. index.html?gallery_id=mygal.
Jaipho is iPhone optimized gallery, so as final step you have to detect will you show the original gallery link, or the new iPhone optimized one.
Here is PHP example.
This link will open first slide in your gallery. You can also start your gallery in thumbnails or slide show mode. Here is the list of all different link types.
As I said, default link (with no hash) will by default open first slide. You can change this behavior too by setting DEFAULT_STARTUP_MODE property to one of values: GALLERY_STARTUP_THUMBNAILS, GALLERY_STARTUP_SLIDER, GALLERY_STARTUP_SLIDE_SHOW.
Pipho is a PHP implementation of Jaipho. No matter if you are not using php, nor planning to implement Pipho, it is reccomended to sneak into it and check how actual implementation is working.