Announcement

#1 2022-02-13 14:49:42

Francis Lee
Member
2022-02-13
1

About set photo expiry date

Hello/Hi/Greetings,

I'm working on the Piwigo, I'm finding a way to automatically clean up those expired photo.  I've added the Expiry plug in.  I've the following question need your help.
1. Can I set the expiry date of the photo via programming interface ?  In the tools/ws.htm, I did not see any method able to do this.
2. Is there any setting for auto trigger this clean up program ?
3. For the delete image API provided, I can delete photo one by one.  However, if the image id is a list (more than one id provided), it always return 1.  What's this 1 means ?  I did not see any reply in json format but this 1 only.

Thanks for your reply.
Francis Lee

(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])

Piwigo URL: http://

Offline

 

Board footer

Powered by FluxBB

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