A new feature in Gallery 1.3.4 is offline browsing, designed to assist you when using tools like wget or httrack to make an offline version of your gallery. This can be for cutting a CD, keeping on your home machine, putting on a site that doesn't have PHP installed or any other purpose for which you might want a static version of your gallery.
Offline browsing gives you two things: it removes links that don't make sense in a static gallery (like "Login" and "Add Comment"), and does not display links to albums in the tree above the current album, unless that has been visited already in this session. In other words, you can just download an album and it's sub-albums, and not the whole tree if you want.
To move Gallery into off line mode, simply add set_offline=true to any gallery URL, e.g. http://www.example.com/gallery/?set_offline=true. To stop using offline mode, then use set_offline=false
To download an entire, non-password protected gallery using wget
wget -r -k --html-extension 'http://www.example.com/gallery/?set_offline=true'
To download an album from a password protected gallery using httrack
httrack -%F "" -K0 "http://www.example.com/gallery/login.php?uname=admin&gallerypassword=SECRET \ &login=Login&set_offline=true" \ http://www.example.com/gallery/album04 http://www.example.com/albums
To download an album from a password protected gallery using wget
wget --proxy=off --cookies=on \ 'http://www.example.com/login.php?uname=UNAME&gallerypassword=SECRET&login=Login' \ 'http://www.example.com/backup.php'
You need to give the URL of your gallery directory to httrack, or it won't download images. So add a .htaccess file to prevent directory listing to your albums directory (i.e. "Options -Indexes") Note
The domain you give must be the same as the one you defined during configuration. eg if you put the domain as http://www.example.com/gallery, then http://example.com/gallery will not work.