Announcement

#1 2018-10-02 16:50:16

huebi
Member
Southgermany
2014-08-15
14

Setting images as preview for an album

Hello,

i can set select an image to act as an prview for an album. But this way round i need to go to the image and enther tha album.

Is there another way round? I would like to know for every album which image is selected as a preview (maybe none).

Best Regards
   Huebi

Offline

 

#2 2018-10-07 21:52:55

panda
Member
2018-10-06
5

Re: Setting images as preview for an album

Dear Huebi

I think you are looking for a tn_url.

I suggest you use pwg.categories.getList maybe with an argument: recursive=true

(see https://piwigo.org/demo/tools/ws.htm)

for example:

curl -X POST 'https://piwigo.org/demo/ws.php?format=json&method=pwg.categories.getList&recursive=true'

and look for the values of tn_url corresponding to category/album with id and name.
you can even add id=AlbumID to the query above, if you are interested in a specific album.



Best wishes

panda

Offline

 

Board footer

Powered by FluxBB

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