How to configure upload details

Created on 18 May 2020, about 4 years ago
Updated 5 April 2023, about 1 year ago

Terrific module and very much appreciated.
We run a small non-profit site and are migrating a bunch of images from old server to new.
I want to store a batch of images at a specific file path.
The module allows us to choose a "form mode", but I am not sure how to set parameters in the form mode.
Is it possible to provide a specific file path per "form mode"?
Can you explain how?
Thanks!

πŸ’¬ Support request
Status

Postponed: needs info

Version

1.0

Component

User interface

Created by

πŸ‡¦πŸ‡ΊAustralia boabjohn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    @boabjohn Hi. You can specify file paths for each media type. If you wanted a different file path per form mode, do you mean for each different media type? If you wanted different paths depending on other things, you could create a custom token with the logic you need but that requires programming.

    If you want the URL alias for the file to be something particular, you can use the pathauto module and set up rules per media type. Again, you could create a custom token if you needed to do anything fancy.

    Does this help?

    Media type file path

    Pathauto patterns for media

Production build 0.69.0 2024