This module allows you to update managed file information, such as file names, paths, and image resolutions, after files have already been uploaded. These updates are then automatically applied to associated content like image fields, file fields, crop entities, and text fields. It also offers a plugin interface for custom integration.
Make adjustments to managed files - and transfer adjustments to resources using these files (image fields, crop entities and more). The module is suitable for SEO optimization in order to subsequently adapt image names and paths to the important keywords of the website or landing page.
Benefits
- Adjust file names and paths subsequently.
- Adjust image max. resolution subsequently.
All adjustments are transferred to the following resources:
- Image fields (includes media entities)
- File fields
- Crop entities (Crop API)
- Text fields (file uploads in CKEditor editor)
Additional features:
If you make usage of file entities in custom modules: This module provides a plugin interface. So you can create plugins for your custom module that will transfer required adjustments to your custom resources (fields, entities, whatever you want).
Install
- Just download and install File Update as described here.
- Configure "Update file entities" permissions. Please note the warning.
- Go to
/admin/content/files/update-formin you backend and update your files.
WARNING
Using this module can lead to conflicts with prior versions (revisions) of entities. It is strongly recommended to back up database and files folder (e.g. /sites/default/files) before using the module.
It is also recommended to permit file updates only to persons who are aware of the risks.
Usage
In the menu you go to „Configuration > Media > File Update“ (/admin/file_update/update-form).
Select file by beginning to type a file name and select a provided file resource from drop down.
Adjust uri and max. resolution in the fields.
Recommended Modules
- Media (in Core)
Ask your assistant about File update
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
1 tracked project depends on this one
- Gutenberg Random Filename Fix 2 sites
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.0-beta3 | Pre-release | 9–10 | Jan 28, 2024 | ||
| 1.0.0-beta2 | Pre-release | 8–9 | Apr 28, 2023 | ||
| 1.0.0-beta1 | Pre-release | 8–9 | Apr 28, 2023 |