Actions
Feature #88954
openforce image processing per viewhelper
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2019-08-13
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
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}" />
// fore process image
<f:media class="image-embed-item" file="{file}" width="{file.width}" height="{file.height}" process='true' />
// current default way - processed image
<f:media class="image-embed-item" file="{file}" width="200" />
Why?
For example, to apply the credentials of GFX => processor_stripColorProfileCommand to each image.
Actions