Announcement

#1 2024-09-02 05:15:57

MLSimpson
Member
2024-09-02
2

[resolved] How do I stop Synchronize from creating an album for every photo?

Hello,

I apologize if I missed it, but I don't see this scenario in the documentation or forum. I just started using Piwigo this week, so I am new to the application. Everything is working well except that when I synchronize, an album is created for each photo. Inside the albums appear to be the different sizes of the thumbnails/images. If I try to delete just the pictures, it doesn't work. It says it's successfully. But either they are never deleted, or they are deleted and recreated. I can manually delete the redundant albums and included pictures - that works. But of course, they are recreated at the next synchronization.

Here is an example. If I have the following folders/files:

- MyAlbum1
- - Pic_01.jpg
- - Pic_02.jpg


I will get the following after synchronizing:

New Album = MyAlbum1
- - New Pic = Pic_01.jpg
- - New Pic = Pic_02.jpg
New Album = Pic_01.jpg
- - New Pic = SYNOPHOTO THUMB B (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB M (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB S (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB SM (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB XL (note: preview thumbnail is broken)
New Album = Pic_02.jpg
- - New Pic = SYNOPHOTO THUMB B (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB M (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB S (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB SM (note: preview thumbnail is broken)
- - New Pic = SYNOPHOTO THUMB XL (note: preview thumbnail is broken)


Could you please point me in the right direction to resolve this? I assume there is a config file or setting that I'm missing. Once this is resolved, I'll be able to start migrating my library. I greatly appreciate any insight or guidance you can provide. Thank you.

Environment
Piwigo 14.5.0 Check for upgrade
Installed on 1 September 2024, 19 hours ago
Operating system: Linux
PHP: 8.3.10 (Show info) [2024-09-01 21:54:30]
MySQL: 9.0.1 [2024-09-02 02:54:30]
Graphics Library: ImageMagick 7.1.1-32
Cache size N/A   never calculated Refresh

Activated plugin list
Community
LocalFiles Editor
PWG Stuffs
user delete photo

Piwigo URL: http://simpson.synology.me:8633/

Offline

 

#2 2024-09-03 03:34:59

windracer
Member
St. Pete, FL
2014-12-28
489

Re: [resolved] How do I stop Synchronize from creating an album for every photo?

That's really odd. I assume you're creating MyAlbum1 under the galleries folder of your Piwigo installation? The thumbnails and such should all end up under the _data/i/galleries folder structure, not in the main galleries folder. It almost sounds like Piwigo is creating the thumbnails in the main structure and then the sync is picking this up as new photos to add, which then keeps the cycle going.

Offline

 

#3 2024-09-03 03:48:20

MLSimpson
Member
2024-09-02
2

Re: [resolved] How do I stop Synchronize from creating an album for every photo?

Thank you for the reply.

I figured out that this is a compatibility issue with Synology Photos and Piwigo. My Piwigo gallery was the same as my Synology Photos shared gallery, so that I could use both apps to manage different aspects of my library. But Synology Photos was creating the additional thumbnails that Piwigo picked-up as albums.

Per a March 2013 Synology Photostation article/guide:

"...The free software ImageMagick is used by the Synology Diskstation to handle images and thumbnails. The Synology DMS 4.2 system (and later) create several thumbnails for each photo or video uploaded in the Photostation (shared system folder photo). These thumbnails are saved in a hidden folder named @eaDir, created in each album folder. Subfolders with the name of the photo or video, including the extension, are created inside the @eaDir folder. Such a subfolder contains the following thumbnails: ..."

...and the guide/article proceeds to lists a variation of the New Pics I saw created in the additional albums.

I recreated a new Piwigo instance because I didn't see a way to change the root gallery. And when I sync with the folder, I don't get this behavior. So, problem solved.

Thank you, again, for the reply. I think Synology is moving in the direction of having thumbnails be created on the client-side instead of the server side, starting with the current DSM 7.2.2 release. So, this may eventually not be a compatibility issue. But hopefully this experimentation helps anyone with the same idea.

Thank you. I look forward to using Piwigo now.

Offline

 

#4 2024-09-04 16:50:02

windracer
Member
St. Pete, FL
2014-12-28
489

Re: [resolved] How do I stop Synchronize from creating an album for every photo?

Glad you figured it out, good catch. I've turned off all that Synology photo stuff since I don't need/use any of their photo management features.

Offline

 

Board footer

Powered by FluxBB

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