Adding metadata to image variations

Hi everybody,

We need to have metadata for image variations, when our editors are uploading a new image metadata is preserved just for the original version of the image.

I solved the problem for our import mechanism over the EXIM-Plugin, but we need to provide this feature in the image upload of the CMS too.
I think we have to override the ImageUtils class from org.hippoecm.frontend.plugins.gallery, but maybe there is another solution.

Best regards,
Mark

I assume here you mean metadata contained in the image file, like exif data. There is an old project that may help some:

https://bloomreach-forge.github.io/gallery-magick/

It hasn’t been updated so it is only compatible with version 13. But you can use that as inspiration for how to reach a solution.