Piwigo / Piwigo-Mobile

Piwigo iOS Mobile Application
MIT License
98 stars 30 forks source link

No information if the image already exist during import #551

Open Phil353556 opened 10 months ago

Phil353556 commented 10 months ago

Hi, Uploading an image to an album using IOS Testflight 3.1 (536) with piwigo server 13.8.0 I am wondering why the image is not seen then

log file in piwigo directory : _data/logs gave me the answer

[2023-09-11 12:08:04]   [DEBUG] [WS]    ws_images_exist
  md5sum_list: '9d27dc26105a21141dd80dd903c9e861'
  filename_list: NULL

May be a message should be displayed on the mobile phone?

EddyLB commented 9 months ago

The iOS app usually knows when a photo is already uploaded, but not always (e.g., uploaded by someone else or with a different app). This is why it checks whether a photo should be uploaded.

If the photo is already on the server, it stores in its cache that it is already uploaded and the app should display a Piwigo icon to tell that it is already uploaded the next time you select photos to upload.

Would you like the app to display a message in addition? For which reason?

Phil353556 commented 9 months ago

Hi Eddy, Yes a message displayed should be useful. Testcase: -I manage photos and albums, -Then I gave a user the rights of adminstrator. The user uploaded photos in a new album, but the process is not working. He called me, I looked in the log and found "_ws_imagesexist" which is the right reason. A message allows users with administrator right to have this information themselves. Easier. Thank you