Announcement

#1 2018-11-23 07:55:29

psh
Member
2018-11-13
15

Configuration of Batch Downloader plugin

Hello/Hi/Greetings,

I want to change the Pattern for filenames in the archive in the advanced settings of the Batch Downloader plugin. The downloaded pics should just have the original file names and nothing else.

I wrote this line in my local configuration file:

$conf['batch_download_file_pattern'] = filename;

but the downloaded pics still keep the id (id_filename). Any tips for me?

I use the current version of Piwigo.

Thanks,
Peter

Offline

 

#2 2018-11-23 09:26:09

executive
Member
2017-08-16
1214

Re: Configuration of Batch Downloader plugin

Files are renamed as soon when they are uploaded. Try using Title for you pattern instead.

Offline

 

#3 2018-11-23 19:51:35

psh
Member
2018-11-13
15

Re: Configuration of Batch Downloader plugin

executive wrote:

Files are renamed as soon when they are uploaded. Try using Title for you pattern instead.

I've tried it but the result is still the same. Any other ideas?

Thanks,
Peter

Offline

 

#4 2018-11-23 20:16:28

executive
Member
2017-08-16
1214

Re: Configuration of Batch Downloader plugin

For starters, you should have posted in the "extensions" forum section.

Go to the developer's page and post your question there (Link on the extension's page)

Offline

 

#5 2018-11-24 21:03:28

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Configuration of Batch Downloader plugin

Your config is wrong :

Code:

$conf['batch_download_file_pattern'] = '%filename%';

The '%' symbols are not a mistake in the doc. And you need quotes, I am surprised you didn't crashed your gallery with this error...

Offline

 

#6 2018-11-25 19:49:51

psh
Member
2018-11-13
15

Re: Configuration of Batch Downloader plugin

Thanks a lot, mistic100, your tip solved my problem. I didn't think that the syntax was the problem as the downloaded files didn't include the dimensions in the filename anymore and my local configuration file didn't crash.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact