Create a thumbnail definition such as used in the Gallery Plus dashlet:
The ImageMagick command line produced is:
command: /home/ian/work/ImageMagick/convert /home/ian/work/Gallery_Plus_Dashlet_IPW/gallery_plus-repo/target/Alfresco/ImageMagickContentTransformerWorker_source_7082732122820643958.png -alpha remove -auto-orient -resize 4000x120 /home/ian/work/Gallery_Plus_Dashlet_IPW/gallery_plus-repo/target/Alfresco/ImageMagickContentTransformerWorker_target_8091252949361762254.jpg
The -resize option should be -thumbnail.
I believe the attached patch fixes the issue.
- none -
- Evaluate if the patch is the correct solution
- If so, apply the patch
- If not, then give feedback to the reporter on why the patch is not the correct approach and what we think a better solution would be.
- If we have a recommendation for a better solution, then raise a new story for us to make the proper fix so it can be prioritized unless it is easy enough to address immediately.