Category: pipho
At last, here is the version which works on iPad too. Although iPad is released few months ago, I think it was worth of waiting because there are few another cool features which were many times requested through contact form or comments on articles.
Let's see them one by one.
- iPad support in Pipho_DeviceInfo by giving the right screen size for iPad and through isIpad() method
- distributed with list.php which displays all image galleries list
- new constant PIPHO_PHOTOS_FOLDER_DESTINATION enables to feature to have the source images on other location on disc drive
- new constant PIPHO_JAIPHO_THEME to select one from two available themes: Default and iUI
- as now there are two templates, configuration is extracted to two config files: _config_pipho.php and _config_jaipho.php
On http://jaiphodemo.info/demos/ipad-test-01/ you can find the first test version. If it is accessed by iPad it will be optimized for it. All other devices will be served with iPhone optimized version.
This iPad version is mainly made by following the guide published on Porting Jaipho to iPad article.
This version includes the latest Jaipho 0.52.3.
There are two more bug fixes included in this patch:
1. First gallery image when listing galleries, now considers configured sort order.
2. Added escaping quotes in title and description, so now you can use quotes.

In this article, we will step by step integrate Jaipho, Pipho and iUI. Purpose of this article is to see how to use Jaipho/Pipho in multi galleries environment, and how to implement a different designs.
The whole source which cames out as result of this steps is attached to post.
Live demo can be found at http://www.jaiphodemo.info/pipho-iui/.
Summarized, we will create iUI based page which will contain list of all our galleries (index.php), and we will change Jaipho based page to fit the iUI digg sample design (gallery.php).
This version mostly implements features which in past period few users requested.
New features:
Sorting
Till now, gallery images were shown only in filesystem order. Now through PIPHO_SORT_GALLERIES_ and PIPHO_SORT_IMAGES_ constants (6 in total), you can specify in which order your, both galleries and photos, will be displayed on screen.
Or, what happens when Jaipho meets PHP.
Although Jaipho is meant to be used as secondary image gallery script, some of my colleagues convinced me that there should be server side solution too. They just wanted to upload photos on server and let the script do everything else.
Pipho is exactly that. It reads photos from desired folder, on the fly creates resized thumbnail and slide images, and dumps Jaipho javascript read images part. In addition, it supports text files as descriptions for both, gallery and slides.
In short, Pipho is a PHP Jaipho implementation example.
Recent comments
3 days 41 min ago
3 days 12 hours ago
4 days 55 min ago
4 days 2 hours ago
5 days 21 hours ago
1 week 3 days ago
1 week 3 days ago
2 weeks 5 days ago
2 weeks 6 days ago
3 weeks 1 day ago