Jump to content

How to automatically rename image uploads?


Recommended Posts

How to automatically rename the image files to a random string during the upload process?

For example, I have an image named "big_poster.jpg" and I want it to be saved as something random, for example "2680542675157_cc7m541v_l.jpg"

Link to comment
Share on other sites

  • 2 years later...
4 minutes ago, rst said:

is there a way to apply this module to images that are already saved?


There is a "Rename on Save" option in the config settings. If you check that and then write a small API script to loop through all the pages that have images that need updating, it should do the trick.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...