Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2017-11-10 15:42:30

esppat
Member
Registered: 2017-09-05
Posts: 3

pwg.images.add does not returns image id

Dear All,

While trying to use pwg API, and more precisely pwg.images.add, I noticed that on success, I receive this short result:

<Response [200]>

This is nice, but not very usefull...

How could I get the last added image Id ?

Htanks a lot
Patrice E.

Offline

 

#2 2017-11-12 21:14:48

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: pwg.images.add does not returns image id

Hi Patrice,

I cannot say much about pwg.images.addChunk followed by pwg.images.add but pwg.images.upload returns the image_ID which can then be used to call pwg.images.setInfo.

Cheers

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact