Category: release
One of the most impressive iPhone achievements is the Photos application. Taking advantage of big screen, gestures, gyroscope and most important: extra good user interface it is just miles away from ordinary cell phones.
There is one more another iPhone killer feature: Safari browser. It actually made for first time in history, mobile surfing really usable. You can browse the mobile, as well as standard websites and enjoy in it.
But what is the situation when you are browsing some web images gallery?
Added splash screen functionality. Splash screen is the first thing which is displayed. It stands on for minimally SPLASH_SCREEN_DURATION seconds. Gallery itself is displayed after that period is exceeded.
If you set SPLASH_SCREEN_DURATION to 0, the gallery is displayed as soon the document onload is triggered. The goal was also that splash screen is loaded as soon as possible. For that reason, the source is split in two parts. jaipho-0.53.00-preload-src.js is smaller and holds the Splash screen and some common functionalities. jaipho-0.53.00-main-src.js holds the rest of the Jaipho package.
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.
Only jaipho.css file is updated with several layout bugs fixed.
2px on bottom
If you customized Jaipho and you changed the background color for full screen mode to white, you could notice that under the bottom toll bar are 2px of extra space.
2px on images
Till now there were 2px of unused space bellow images in full screen mode.
Long titles are breaking the layout
If your gallery name was to long, the title displayed on top toolbar was breaken into two lines. Now, your long titles will be automatically shorted and appended with "...".
Full source file in previous version had the Jaipho source twice in it (0.52.00 and 0.52.01) what doubled the file size.
This version has that file corrected.
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.
Two mistakes were found in previous release. This one fixes them.
Here are the solved bugs:
Incorrect landscape mode behavior
In OrientationManager was the hard coded value for device screen width, which was causing the incorrect display in landscape mode.
White line before thumbs are loaded
In thumbnails mode, before the thumbs were loaded, there was white line in thumbnail placeholder divs (gray squares). This was very noticeable on slower connections.
This bug was produced in 0.51.
There is bug in Safari browsers while interpreting javascript document.location.replace() method. Instead of just replacing the loaction, it also appends history. Result is that after you navigated in Jaipho through slides, pressing Back in browser will return you through slides back (still in Jaipho), instead returning you to original page you came from (gallery list, news article ...). Several users contacted me regarding this annoying behavior.
This version offers patch for this problem.
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.
Here is second beta release. As major change it brings better user experience on loading both thumbnails and slides in your gallery. Here is the list of all changes.
Jaipho changes
Upgraded images preloading system - javascript JphUtil_Preloader class. It preloads slides, so when user triggers next button the image will already be prepared. There are few changes in it comparing to previous version.
Recent comments
3 days 12 hours ago
5 days 4 hours ago
6 days 10 hours ago
1 week 23 hours ago
1 week 2 days ago
1 week 3 days ago
1 week 4 days ago
1 week 6 days ago
1 week 6 days ago
2 weeks 3 hours ago