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.
Hello
When dealing with large amount of assets, performance problems can occure on some filesystem if too much files are stored in the same directory.
Would it be possible to implement in scald core a files organization strategy per content type with YYYY/MM/DD date tokens ?
Thank you very much !
Pascal
Comments
Comment #1
jcisio CreditAttribution: jcisio commentedThere are two problems to solve:
- Thumbnails are not stored in the directory specified in the thumbnail field settings. We'll fix it in this issue (if fieldfield_paths is enabled, it is done automatically and does not need this fix).
- Files which are not a field (audio and flash in core): the destination directory should already be configurable via hook_form_alter() for hook_form_FORM_ID_alter(). For example:
Of course, if provider expose the path settings via UI it'd be better.
Comment #2
jcisio CreditAttribution: jcisio commentedThe thumbnail path is fixed with 3866598. If you want to move old files to the new structure (supposing that you've have configured field path), you'll need Filefield Paths with the retro option (once it is done, you can uninstall that module).
Comment #3
jcisio CreditAttribution: jcisio commentedDocumentation created https://drupal.org/node/2029403.