This utility help you rebuild the image information stored in the database that may become outdated after files being changed directly on the server side.
The two most common use cases are:
- Images are replaced directly on the server, such as cover.jpg from a small size to a larger size.
- Image names and/or paths are updated in the database and changed directly on the server. For example, from public://publication/1.jpg to public://article/01.jpg
As the result {file_managed.filesize} and {file_managed.timestamp} columns will contain incorrect information after any of the above changes are made. The image dimension in the field_data_filename table may also contain outdated information.
This module will update the information stored in those tables with the updated files to keep the database consistent with the actual file.
Installation
Installation is quite simple:
Enable the module from admin/modules or use Drush:
drush pm-enable utility_image_rebuild
Dependencies
The Utility Image Rebuild module is dependent on two Drupal 7 core modules:
- file
- image
You will be prompted to enable these modules if they are not already enabled.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.No further development
No longer developed by its maintainers.- Project categories: Developer tools
53 sites report using this module
- Created by pandaski on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.



