Announcement

#1 2017-09-05 11:23:46

kinsham
Member
2017-09-05
8

Uploading a directory tree

Hello/Hi/Greetings,

What is the way to upload a large set of photo files existing as a directory tree structure? The objective is to create the album structure the same as the source directory structure. I host my own Apache server so the files and Piwigo reside on the same machine.

Piwigo version: 2.9.1
PHP version: 5
MySQL version: 5.5.57-0+deb7u1 Debian
Piwigo URL: http://

Offline

 

#2 2017-09-05 20:35:27

executive
Member
2017-08-16
287

Re: Uploading a directory tree

The instructions are in your Piwigo ...

Photos -> Add -> FTP + Synchronization

Offline

 

#3 2017-09-06 14:30:49

flop25
Piwigo Team
2006-07-06
6811

Re: Uploading a directory tree

Let me explain to you how to find the information
Here is the Documentation
http://piwigo.org/forum/showimage.php?pid=168604&filename=2017-09-06_14-29-55.jpg
Here is what your looking for in the Doc
http://piwigo.org/forum/showimage.php?pid=168604&filename=2017-09-06_14-31-42.jpg
http://piwigo.org/forum/showimage.php?pid=168604&filename=2017-09-06_14-32-21.jpg

Pro Tips: there are extensions too


Uploaded Images


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2017-09-07 22:14:58

kinsham
Member
2017-09-05
8

Re: Uploading a directory tree

Many thanks for that pointer. I had much trouble with the sync process due to illegal characters in file and directory names. These names were created long before the restrictions on allowable characters was known and it has been a tedious process to weed them all out.

Are there any workarounds that will allow any, or at least a wider set of, characters?

Offline

 

#5 2017-09-08 20:05:46

executive
Member
2017-08-16
287

Re: Uploading a directory tree

Did you read the documentation? Your answer is there.

Offline

 

#6 2018-04-10 03:17:37

leducjjr
Member
2017-06-12
3

Re: Uploading a directory tree

I don't mean to necro this thread but it may be handy for someone with a similar issue.  I had copied a number of files into my gallery that had spaces embedded in the names, and when running the synchronise tool, these were not processed. 

Rather than manually editing hundreds of files, I downloaded and used a freeware tool developed by a gent in the UK.  The application is called "Bulk Rename Utility" and runs on Windows.  This works on files, folders, and subfolders very very quickly.  Problem sorted in a few mins after reading his documentation to configure the app.  I highly recommend it for replacing invalid characters in your galleries.

He of course takes donations and I sent some $$ across after saving me loads of hours of effort.  The donations aren't required and the app is fully functional as-is.

Offline

 

#7 2018-04-10 21:23:31

kinsham
Member
2017-09-05
8

Re: Uploading a directory tree

That is what I had to do in the end, though using a different tool. This is really a bodge since it can't be relied on that future photo filenames created by any number of means won't have these illegal characters. In that case, the renaming has to be done for every upload. There doesn't seem any reason in principle why these restrictions are necessary.

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact