Piwigo api getImages limited to 500 per page #435

Closed
opened 2026-10-04 23:58:17 +02:00 by adam · 1 comment
Owner

I noticed when testing on the demo that the api is limited to 500 per page. Is this a hard coded limitation or is it changable via the administration panel?
I would hope that its changable considering i was just about to use this as it has everything i want and need.

If its not changeable is this limitation lifted if you login to the api as an admin?

I have a bot that i wrote a script for that pulls a list of all the images in a folder and one of those folders has over 1,000 images in it and that script lists them in json format which my bot then parses and chooses a random image from.

If its not changable then is there a way in the api to get a random image from a tag or category?

I noticed when testing on the demo that the api is limited to 500 per page. Is this a hard coded limitation or is it changable via the administration panel? I would hope that its changable considering i was just about to use this as it has everything i want and need. If its not changeable is this limitation lifted if you login to the api as an admin? I have a bot that i wrote a script for that pulls a list of all the images in a folder and one of those folders has over 1,000 images in it and that script lists them in json format which my bot then parses and chooses a random image from. If its not changable then is there a way in the api to get a random image from a tag or category? <!-- github-sync-id:145901422 -->
adam closed this issue 2026-10-04 23:58:17 +02:00
Author
Owner

Found a way to do this without getting all the images so closing.

Found a way to do this without getting all the images so closing. <!-- github-comment-id:205783277 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#435