Pages: 1
Hi to all,
Still trying to integrate Piwigo in my tool chain. Got some weird [from my point of view] behaviour when adding photos.
A. What I do:
I add photo through the web-form
1.1 I select the album
1.2 I choose the photo
1.3 I push the "load" button
B. What I expect:
2.1 The photo is in the corresponding album
2.2 I can see the photo in my gallery in that album
C. What I get:
3.1 The photo is missing in the corresponding album and in the gallery as well
3.2 The photo exists in some hidden dimension
3.3 The only way to find the photo is to go to the batch manager and select photos without virtual album there
3.4 To see the photo I have to assign it to some album in batch manager again regardless of any album that I had chosen when I was uploading the photo, which looks counterintuitive, counterproductive and just weird
Possibly I had my installation just misconfigured, but it is mostly the default configuration. Also, finding proper manuals was a kind of mission impossible for me.
The question is: what is the proper way of getting my images in albums right away after uploading, without intermediary steps?
(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])
Середовище
Piwigo 14.3.0 Перевірити оновлення
Встановлено 15 Грудень 2023, 3 місяців 3 тижнів 1 день тому
Операційна система: Linux
PHP: 7.4.33 (Показати інформацію) [2024-04-07 03:18:40]
MySQL: 5.5.5-10.11.6-MariaDB-0+deb12u1 [2024-04-07 03:18:40]
Графічна бібліотека: External ImageMagick 6.9.11-60
Розмір кешу 194.76 MB підраховано зараз Оновити
Лист активованих додатків 6
Admin Tools
Community
Language Switch
LocalFiles Editor
SmartAlbums
VideoJS
Piwigo URL: [local setup, not accessible from outside]
Offline
Hello Basilio,
Maybe you could try this.
Having the Admin Tools plugin installed, you display the album where you want to put the photos.
Then, on top oof your screen, in the admin tools top bar, you click on the Add photo link.
Then the web upload form will open.
You choose the photos from your computer either by exploring your disks or by drag-and-drop. You may do it for several photos at a time.
You launch the upload and when you are done, the photos should be in the chosen album since you started from it.
Offline
Might be the lounge feature if they appear later, see [Forum, topic 33501] Problem in uploading from Android phone.
Offline
Thank you for your help. I was out of electricity due to recent russian missile attacks on us, civilians. So, a little delay with the feedback.
Katryne, photos should be there, but they are not there for some reason that I cannot get.
eRack, I've just uploaded a photo to give it one more try. Hopefully it will get into the proper album eventually. Though it's now there yet. I will let you know what happens later. By the way, should I have installed any external packages for the lounge feature to operate correctly?
Updated: the photo is not in the album still (~7 hours since uploading), look like it doesn't work like it`s intended or maybe some misconfiguration from my side. I don't have a clue what's happening.
Last edited by basilio (2024-04-08 09:32:23)
Offline
The lounge is a core feature, no extension plugin needed, and photos should show up after 5 minutes or so.
I have no idea why things don't work for you.
Offline
It looks like something wrong is happening with the attribution of the uploaded file. In the batch manager it appears as an orphan in the predefined filter field. But refreshing it adds no file to selection. So it is not orphaned really. And it should not be, as I pointed it to some album when uploading. Meantime, applying the "with no virtual album" filter adds the recently uploaded file to selection. And I can associate or move it to any album. After that, it appears in selected album.
Could it be that attribution for virtual albums for uploading photos is broken somehow? As when syncing ftp uploaded photos work flawlessly.
Offline
I am no sure you can use both virtual albums and real ones at a time. You must choose one system OR the other. There are ways afterwards to move all photos froms one system to another. But to my knowledge there can be only one system. If I am wrong, anybody, tell me.
Offline
When I try to upload a photo to the real album through the form, everything remains just the same. Only ftp sync works like expected.
Also, the documentation is very scarce. I could not find how to set up what kind of albums to use, real or virtual. Meantime, both type of albums coexist on my testing Piwigo installation without any issues. Except this problem with uploading photos. The only issue is that the uploading form cannot hold the information about the album until the end of the transaction or is failing to pass it to the right place. And thus I have to explicitly assign those photos to albums one more time in batch manager.
Offline
A new documentation has been issued in French, far more complete and up to date, but not yet translated to English. Maybe you could have a look, using a translation tool if you do not master the language. Here it is : https://doc-fr.piwigo.org/
Last edited by Katryne (2024-04-09 05:23:41)
Offline
Fwiw, physical folder ("ftp") albums and virtual albums can peacefully coexist, but now that basillo mentioned, you are not trying to web upload a photo and assign it into a physical album, are you? That probably won't work.
Offline
I was trying both, physical (ftp) and virtual albums. And had no success each way. I will wait for the next update. With the hope that the issue will dissolve in some magic fashion. Still think that there is some bug or misconfiguration from my side.
erAck, Katryne, thank you so much.
Offline
Just for the record. I have found the reason of this wrong behavior finally.
The Smart Albums plugin somehow breaks the uploading feature of Piwigo. And more than that, removing that broken plugin does not restore the Piwigo instance to the previous state. Your Piwigo get poisoned, and you lose the feature of uploading your pictures permanently. To be more precise, after uploading you will have to assign the album manually for every picture as Piwigo will treat it as the orphan for some unknown reason. Removing the plugin won't help. And I cannot think the other way of repairing my Piwigo that completely reinstalling and repopulating it. If I had a backup copy before this plugin I would be more happy I think. So pity.
Offline
One more interesting observation. Virtualize plugin helps a lot in this situation and photos get uploaded as expected. Both from the Android and through the Web interface. And SmartAlbums plugin also kind of works. Smart albums are created but not exposed in the gallery (another feature/bug?). So if one can live when all albums are virtual, this is a workaround.
But I would like to have both virtual and physical albums. And it looks like the physical albums approach is not compatible with the SmartAlbums plugin, which is very sad for me.
Offline
One more update. Not so sad for this time. I just have revealed to myself that after "virtualizing" my images I can still use physical albums. Though, I can only upload photos to such albums with synchronization tool. If using web interface or android app, they get to correct albums but put in "upload". Anyway, I still can symlink folders with my archived photos from NAS to "galleries", organize its structure as I like, keep it current and it will work.
And maybe it is still not perfect, but it is the best available solution that works on my primitive Orange Pi hardware. Thank you, devs.
PS It might be worth to mention somewhere in SmartAlbums plugin description that it is not fully compatible with physical albums and needs virtualization of the photo library to play nicely.
PPS To admin: you can mark this topic as solved :)
Last edited by basilio (2024-08-23 12:23:40)
Offline
You can do that yourself, the cog wheel at the bottom of your first post of the topic and then "Set this topic as resolved". I just did it for you.
Offline
Pages: 1