Jump to content

Recommended Posts

Posted

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"

Posted

Hi aren,

I just committed an update to Custom Upload Names for you. It now has an option to generate a random string at a length of your specification.

Please take a look and let me know if you need any assistance.

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

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

thanks!

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.

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...