In the Piwigo web API (web-services) explorer, pwg.images.setInfo sends a "comment" data element. but it should be "description".
In the Piwigo web API (web-services) explorer, pwg.images.setInfo sends a "comment" data element. but it should be "description".
<!-- github-sync-id:3103463799 -->
In Piwigo's database structure, the field is called comment and not description. This is why, in pwg.images.setInfo, we also use comment, in order to maintain consistency between the database and the code, especially for developers.
In Piwigo's database structure, the field is called `comment` and not `description`. This is why, in `pwg.images.setInfo`, we also use comment, in order to maintain consistency between the database and the code, especially for developers.
```sql
MariaDB [piwigo_db]> desc piwigo_images;
+------------------------+-----------------------+------+-----+---------------------+-------------------------------+
| Field | Type | Null | Key | Default | Extra |
+------------------------+-----------------------+------+-----+---------------------+-------------------------------+
| id | mediumint(8) unsigned | NO | PRI | NULL | auto_increment |
| file | varchar(255) | NO | | | |
| date_available | datetime | NO | MUL | 1970-01-01 00:00:00 | |
| date_creation | datetime | YES | MUL | NULL | |
| name | varchar(255) | YES | | NULL | |
| comment | text | YES | | NULL | |
```
<!-- github-comment-id:2976557344 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In the Piwigo web API (web-services) explorer, pwg.images.setInfo sends a "comment" data element. but it should be "description".
In Piwigo's database structure, the field is called
commentand notdescription. This is why, inpwg.images.setInfo, we also use comment, in order to maintain consistency between the database and the code, especially for developers.