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.
I'm using an image field and I can specify a directory to store those image files. I would like to specify a subdirectory specific to every node so my pictures won't get saved in a single directory.
With the token module I can specify something like directory/[current-page:page-number]. This always return "1". I tried other query strings like [current-page:url:args:value:2] but this will not work at node creation, only when I modify it.
Can this be achieved with tokens?
Comments
Comment #1
clauded CreditAttribution: clauded commentedFound the answer here. Sorry for the noise.