Piwigo / Piwigo-BatchDownloader

Allows users to download pictures sets from your Piwigo gallery in a ZIP file. Compatible with User Collections.
http://piwigo.org/ext/extension_view.php?eid=616
GNU General Public License v2.0
9 stars 12 forks source link

Batch Downloader fails when using piwigo as Docker Image #58

Open PaulSpa opened 1 month ago

PaulSpa commented 1 month ago

Environment

Not your fault but others might see the same issue

I am aware, this is not directly a Batch Downloader issue, but caused by the set up of the docker image. But many Piwigo administrators do use docker to run Piwigo and might interprete this as a Batch Downloader issue first.

I also reported this to the maintainer of the Piwigo docker image.

Workaround

Adjust the path in to the plugin/BatchDownloader/download.php script:

<?php
#define('PHPWG_ROOT_PATH', '../../');
define('PHPWG_ROOT_PATH', '/app/www/public/');
include(PHPWG_ROOT_PATH.'include/common.inc.php');
[...]

After this change the issue does not exist anymore in this environment.