Looking for a solution for image rating in the frontend

I am currently creating a project management system with a photo section.

I would like to enable my customers to rate the photos:

This can be done either with stars or with flags.
I can realise this in the backend.
However, the customer should be able to rate the photos on the frontend.
Is there already a solution for this, or a solution approach?

The page is protected with this plugin.
This means that the customer is not logged in as a user in Kirby.