Page 1 of 1
Don't rename image files
Posted: 2018-12-18 16:47
by bdurfee
I have an image upload field, but I don't want AG to rename images when it uploads them. How do I do this?
Re: Don't rename image files
Posted: 2018-12-19 00:40
by peebee
When selecting image/file upload option for a field you will be presented with the popup dialogue box below. Check the "Don't rename uploaded files" checkbox. Done.
- screenshot3.jpg (133.44 KiB) Viewed 2783 times
Re: Don't rename image files
Posted: 2018-12-19 03:23
by bdurfee
Thanks! I was using the image field instead of file upload.
Re: Don't rename image files
Posted: 2018-12-19 04:51
by peebee
I didn't actually try out what I posted as I always rename uploads (to save duplicate file name issues and also for security reasons).
I am imagining that if you use the file upload checkbox, you will likely not end up with thumbnail images but more likely a downloadable link?
I haven't got time to test it for myself but I'm interested to see what happens?
Re: Don't rename image files
Posted: 2018-12-19 21:23
by ronwill
When I want the same, I create an image field, and in one step I select the file upload setting as shown above and choose dont rename, then I select Image, do my settings (thumbs size etc) and move on to next task....
I've found that by doing this that the uploaded image files (for this image field) retain the uploaded image file name without issues. If I don't follow this and just go straight to image settings the default setting for file uploads is applied and image name is changed.