function "getImagesbyCategory" armed and fully operationnal