Search code examples
imagedrupaldrupal-7drupal-views

Drupal upload images folder


How can I set Drupal to upload images into a folder by year and months (eg.: sites/default/files/images/2013/07/myimage.png).

I'm moving my website from Wordpress, which automatically do this (it creates a new folder for years and months).

Is possible to do this?

Thanks in advance!


Solution

  • You definitely can do this with Drupal.

    Install the FileField Paths module. Node tokens, for example, the node creation time will be available to use as a token.