prettyPhoto AJAX patch

This page demonstarates prettyPhoto patched to load photos through AJAX when reaching start or end of the list of photos on the pages.

This patch is extremely experimental. Major rewrite of prettyPhoto should be done to make this well. Currently slideshow and preview gallery do not work.

See also the latest (unstable) version.

Demo

Source

This is patched JavaScript from prettyPhoto 3.1.5. Here is the patch (this is version 2 of the patch).

This is my custom JavaScript for this page.

This demo uses the following PHP scripts: