Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using piwigo with pictures in existing folder structure #960

Closed
wiwie opened this issue Jan 14, 2019 · 7 comments
Closed

Using piwigo with pictures in existing folder structure #960

wiwie opened this issue Jan 14, 2019 · 7 comments

Comments

@wiwie
Copy link

wiwie commented Jan 14, 2019

Currently, piwigo requires that pictures are stored in its own folder structure, right? At least I haven't found a way of handling pictures in an existing folder structure.

Why is this restriction necessary?

This is in fact a rather strong counter argument to me for using piwigo, as I want to keep my files being stored the way they already are, but use them with piwigo anyways.

Would it be a big effort adding this kind of functionality?

Alternatively, it would also be an improvement to me, if pictures could be linked via symlinks instead of being duplicated into piwigos folder structure.

@john-
Copy link

john- commented Jan 29, 2019

Pwigo does not require its own folder structure. There is an option to use an existing one. I am currently using that approach. As I recall there may be features not available with this option however for me it works well enough.

@wiwie
Copy link
Author

wiwie commented Jan 29, 2019 via email

@john-
Copy link

john- commented Jan 29, 2019

You want Physical albums:

https://piwigo.org/doc/doku.php?id=user_documentation:albums_management

@sanddevil
Copy link

Unfortunately there is a dependency with this solution that directories and file names must not contain spaces. I have used spaces extensively in my directories so it looks like a deal breaker for me :(

@jheinitz
Copy link

Hello,

you can add the following lines to your local config file using the Local Files Editor Plugin and allow spaces to be valid characters in your directory and file names.

// permitted characters for files/directoris during synchronization
$conf['sync_chars_regex'] = '/^[ %()äöüÄÖÜßa-zA-Z0-9-+=_.]+$/';

Kind regards

Jens

@MarcTheSpark
Copy link

Hi, I've tried putting a folder with a picture in out inside of the galleries folder in my piwigo installation, but when I go to the website, no associated album shows up. Are you not allowed to mix virtual albums with physical albums?

@flop25
Copy link
Member

flop25 commented Mar 6, 2021

The synchronisation will only look inside the ./galleries folder so you need to use symlinks of it's outside of it.
Yes you can have virtual and physic albums.

Don't hesitate to use our forum for questions. Just explain in detail if you do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants