aren Posted October 29, 2014 Share Posted October 29, 2014 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 More sharing options...
adrian Posted October 29, 2014 Share Posted October 29, 2014 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. 10 Link to comment Share on other sites More sharing options...
aren Posted November 1, 2014 Author Share Posted November 1, 2014 Ahh, thank you very much for this Adrian!! Exactly what I needed!! I'll download it right away! Link to comment Share on other sites More sharing options...
rst Posted October 27, 2017 Share Posted October 27, 2017 is there a way to apply this module to images that are already saved? thanks! Link to comment Share on other sites More sharing options...
adrian Posted October 27, 2017 Share Posted October 27, 2017 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. Link to comment Share on other sites More sharing options...
rst Posted October 27, 2017 Share Posted October 27, 2017 thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now