Auto Rename product image with same product title

i would create snippet to auto rename product image
ex:
product titile is: Test Product
i would the images uploaded rename to
test-product.png
test-product-1.png
test-product-2…png
test-product-3.png
test-product-4.png

now please i need the image upload code on cs-cart
I will try to do some edits

Hi!

Please check these third party add-ons: