Cannot set HTML descriptions with API methods #2085

Closed
opened 2026-10-05 01:05:57 +02:00 by adam · 2 comments
Owner

When calling the API method pwg.images.setInfo for modifying an image description written in HTML, or the method pwg.categories.setInfo for modifying an album description written in HTML, the provided description is modified as observed in #1949. Very annoying for some users of the iOS app.

When calling the API method `pwg.images.setInfo` for modifying an image description written in HTML, or the method `pwg.categories.setInfo` for modifying an album description written in HTML, the provided description is modified as observed in #1949. Very annoying for some users of the iOS app. <!-- github-sync-id:3307806224 -->
adam closed this issue 2026-10-05 01:05:57 +02:00
Author
Owner

I think we should do what I did recently for the user comments API method. Add a text_comment field to the response to get only the text of the description.

I think we should do what I did recently for the user comments API method. Add a text_comment field to the response to get only the text of the description. <!-- github-comment-id:3236248710 -->
Author
Owner

Tests confirm that since Piwigo 14 (commit eb0759ef12), the token is required to modify the description of an image or an album.

Tests confirm that since Piwigo 14 (commit eb0759ef123b1dce365f75c9125c3d1df5c39683), the token is required to modify the description of an image or an album. <!-- github-comment-id:3462774562 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2085