- add getPicturesByCategoryId func