Lovelace card with random image

is there a way to add a random image (from local www) to a lovelace card which is renewed when updating the view?
I would like to add different images of workouts and show one “workout of the day”-image - call it a little motivation helper :wink:

There’s a number of ways to accomplish this but it wouldn’t be just in lovelace. You could make a custom lovelace card that can do that though if you know how to code. Otherwise you’d have to come up with a way using the integrated components in home assistant. Maybe the random sensor component coupled with a lovelace state image card.