IBM Maximo: Resizing JPEG Files in doclinks: Difference between revisions
| Line 18: | Line 18: | ||
**Important**: | * **Important**: | ||
* Resizes images larger than 1920x1920. | * Resizes images larger than 1920x1920. | ||
Revision as of 16:07, 4 March 2026
If many photos are attached go IBM Maximo, the DOCLINKS folder can quickly consume large amounts of disk space.
You can resize JPEG files using ImageMagick on Linux.
Procedure
1) Install ImageMagick
dnf install -y ImageMagick
2) Run image magic
cd /opt/IBM/SMP/maximo/doclinks
find . -type f \( -iname "*.jpg" \) -exec mogrify -resize 1920x1920\> {} \;
- **Important**:
- Resizes images larger than 1920x1920.
- Keeps original file names.
- No database updates required in IBM Maximo.