Filter images by version

Hello Everyone,

I’m trying to see if there is a way to have kirby filter out versions of image files all by itself. I currently use kirby as an image archive, but usually upload images with a _v1 _v2 ending in the file name.

/proj1
000_amazing_image_v1
000_amazing_image_v2
000_amazing_image_v3
059_amazing_image_v1
059_amazing_image_v2

Is there a way to have only the latest version of an image show up?

try creating a custom collection filter. for each item search for items with lower version (by name of file) in collection and unset these.