Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Documenting this here since I spent way too long trying to figure it out:
If you want to include a unique ID in the path for a Paragraph bundle, use a path like this:
images/my_bundle/[paragraph:id]
and it will make sure that all filenames are retained (not changed to *_0, *_1, etc) (unless you upload the same file twice to the same paragraph bundle) by making paths like
/images/my_bundle/134/image.jpg
Comments