Issue Feature Closed

#88954force image processing per viewhelper

Christian Hackl 08/13/19, 14:31 updated 04/16/25, 16:42

Description

I would like to be able to tell the f:image f:media f:uri.image etc. viewhelper per parameter (for example “process = ‘true’”) that the image goes through ImageMagick / GraphicsMagick and is being processed.

Example:

// not processed – original image
<f:media class="image-embed-item" file="{file}" width="{file.width}" height="{file.height}"></f:media>

// fore process image
<f:media class="image-embed-item" file="{file}" width="{file.width}" height="{file.height}"><strong>process='true'</strong> /&gt;</f:media>

// current default way – processed image
<f:media class="image-embed-item" file="{file}" width="200"></f:media>

Why?
For example, to apply the credentials of GFX => processor_stripColorProfileCommand to each image.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.