Custom Fields
Support General rename image/video on upload

  • Creator
  • #33020
    Resolved Karthikeyan Ramnath

    Hi there I would like to rename images and videos uploaded from a front end submission to be prefix the name with a custom field value (also present on the form). Can you please advice how I could do this? Ideally I was looking for filter prior to upload so i can rename the file but cant seem to find one. Please help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #33031
    Long Nguyen


    You can try to use the field type file and use the setting unique_filename_callback to modify the file name before saving it to the database. Please read more on the documentation

    Karthikeyan Ramnath

    Oh I see it now on the Advanced Image field as well (which is a much better user experience), will check it out. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.