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
Files are renamed as soon when they are uploaded. Try using Title for you pattern instead.
Offline
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
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
Your config is wrong :
$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
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