Announcement

#1 2023-07-13 01:12:16

gimbo
Member
2023-07-13
3

No photo, everything is album

Hi there,

I'm new with Piwigo, I've just installed it.
I'm looking for an alternative to the default photo manager on Synology (Synology Photos).

My collection has several directories with spaces.
I understand spaces in folder name are a problem, but at the moment, until I'm sure Piwigo has all the features I'm looking for, I cannot shake my existing, working collection.

So I have added the space to the config:
$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-_. ]+$/';

At the very first syncronization it imported everything (directories and files) as albums, so I can see no images, but only paths to subfolders. Thurthermore all the photos are considered top level albums.

Do you have any clue to me to find a solution?

Since this is the first use is not a problem to reset the db.

Thank you for any help.

Gimbo

Environment
Piwigo 13.8.0
Operating system: Linux
PHP: 8.1.2-1ubuntu2.13 (Show info) [2023-07-12 23:10:50]
MySQL: 8.0.33-0ubuntu0.22.04.2 [2023-07-12 23:10:50]
Graphics Library: ImageMagick 6.9.11-60
Cache size 4.99 Mo

Offline

 

#2 2023-07-13 01:28:13

k5
Member
2017-11-05
68

Re: No photo, everything is album

hi
try all theme
Configuration ---> themes ---> (Add a new theme)

thx

Offline

 

#3 2023-07-13 01:33:02

k5
Member
2017-11-05
68

Re: No photo, everything is album

i propose Sylvia or elegant

Last edited by k5 (2023-07-13 01:33:27)

Offline

 

#4 2023-07-13 13:19:07

gimbo
Member
2023-07-13
3

Re: No photo, everything is album

Thanks for your reply.
It doesn't work.

In the album list I see all the photos (as if they were albums)

Offline

 

#5 2023-07-13 23:02:08

gimbo
Member
2023-07-13
3

Re: No photo, everything is album

Hi again,
I've reinstalled Piwigo. This time, I have kept the list of allowed characters to the default.

And yet all the images (jpg files) are seen as folders.

Offline

 

#6 2023-07-14 16:15:00

erAck
Only trying to help
2015-09-06
2043

Re: No photo, everything is album

Never heard of such thing occurring. That would likely mean that for some reason the PHP function is_dir() used in admin/include/functions.php function get_fs_directories() (in turn used by admin/site_reader_local.php function get_full_directories() by admin/site_update.php) returns true for each directory entry of your file system (which btw?), even for files, which would be very odd.. would your Synology mount do such thing?


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

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