Upload at least 5 images

I need a snippet please that will require upload at least 5 images and max 20 images when the user submits listings.

Unfortunately, there is no simple solution to set the minimum number of images per listing, it requires advanced customization. But there is the code snippet to set the maximum number of images per listing Change the maximum number of images per listing #hivepress #listings ยท GitHub