Announcement

  •  » Engine
  •  » pwg.images.add does not returns image id

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

esppat
Member
2017-09-05
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
Piwigo Team
Grenoble, France
2015-11-01
191

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


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 
  •  » Engine
  •  » pwg.images.add does not returns image id

Board footer

Powered by FluxBB

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