piwigo-bootstrap-darkroom icon indicating copy to clipboard operation
piwigo-bootstrap-darkroom copied to clipboard

Thumbnail Images come up as errors

Open jrow3 opened this issue 4 years ago • 3 comments

Currently all my newly uploaded thumbnail images come up as errors. I've trouble shot the issue on the piwigo forums, but appear to be having this issue only with this theme. Not sure if this is a piwigo error or a darkroom error but since I can't find a solution on the piwigo end figured I'd try here as well.

Piwigo Thread: https://piwigo.org/forum/viewtopic.php?pid=178730#p178730

Site with Errors: https://djrow3.com/photos/index.php?/category/autocross

jrow3 avatar Dec 21 '20 06:12 jrow3

How have did you upload images? I have same issue for images I have uploaded via API using add and add_chunks methods. Images I have uploaded via browser works. I try to have a look what is the difference here. For any other template there is no issues.

Hope I do get this fixed. Now I do well suited setup for my personal photos. I manage everything using Digikam locally. Files are synced to my personal Nextcloud so I can easily check for example years I do want to sync to my local computer and keep the rest in my cloud. From Nextcloud I sync every jpg to Piwigo. I write Piwigo's Image ID into my jpg so If I move images around I do not need sync full image collection from early 2005.

Hope I can sort this nasty problem so I can easily let others in my family browse all images without having any problems them to make changes to originals. This did seem most up2date template so far.

stuba avatar Jan 24 '22 18:01 stuba

And yes it seems that addChunk and uploadAsync API methods does not work correctly. I changed to upload and now it works.

Piwigo tools/ws.htm API description does not seem to be too much up to date. I did have a look at the code and it seems to support uploading data as chunks.

So now it seems to work. I have now idea which does have the problem this theme or Piwigo. I kind of would asume that if there is multiple ways to upload image end result should be the same. Maybe just Piwigo documentation would need some update.

stuba avatar Jan 25 '22 02:01 stuba

I have the same issue and need to reload the page once for the image to show up. I add photos/albums by putting them straight into the filesystem and running an album sync.

This issue happens for every generated image (and they DO get generated), e.g. if i switch the resolution and a difference file would be requested. And yes, it only happens with theme - which is the only "nice" theme out there, unfortunately. ;-)

jangrewe avatar Jul 01 '22 21:07 jangrewe