Gallery3:Modules:remote - Gallery Codex
Personal tools

Gallery3:Modules:remote

From Gallery Codex

Gallery Remote Protocol

Description

This module makes Gallery 3 compatible to the widely available Gallery Remote 1.5.1.

Installation

This module is currently not part of the Gallery 3 distribution. Download is possible via git or as archive. Once installed the module can be activated via Site admin -> modules

Configuration

Once activated, your gallery needs some patching to support the module:

To use GalleryRemote 1.5.1 you need to edit modules/gallery/config/cookie.php and change line

  $config['httponly'] = true;

to line

  $config['httponly'] = false;

In any case you need to enable the G3 Gallery Remote interface: Put the following block at the top of .htaccess and the Gallery Remote module will be available

  <IfModule mod_rewrite.c>
     Options +FollowSymLinks
     RewriteEngine On
     RewriteBase /gallery/
     ErrorDocument 404 default
     RewriteRule ^main.php(.*)$ / [QSA,L,R=404]
     RewriteRule ^gallery_remote2.php(.*)$ index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
  </IfModule>