You are here

image-effects-imagemagick-arguments-summary.html.twig in Image Effects 8.2

Default theme implementation for a summary of an Imagemagick arguments effect.

Available variables:

  • data: The current configuration for this interlace effect, including:

    • command_line: The ImageMagick arguments.
    • dimensions_method: The method to calculate dimensions.
    • width: The image width.
    • height: The image height.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/image-effects-imagemagick-arguments-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of an Imagemagick arguments effect.
  5. *
  6. * Available variables:
  7. * - data: The current configuration for this interlace effect, including:
  8. * - command_line: The ImageMagick arguments.
  9. * - dimensions_method: The method to calculate dimensions.
  10. * - width: The image width.
  11. * - height: The image height.
  12. * - effect: The effect information, including:
  13. * - id: The effect identifier.
  14. * - label: The effect name.
  15. * - description: The effect description.
  16. *
  17. * @ingroup themeable
  18. */
  19. #}
  20. {% spaceless %}
  21. <em>{{ data.command_line }}</em>
  22. - {{ 'Dimensions'|t }}: {{ data.dimensions_method|e }}
  23. {% if data.dimensions_method == 'value' %}
  24. - {{ 'Width'|t }}: {{ data.width|e }}, {{ 'Height'|t }}: {{ data.height|e }}
  25. {% endif %}
  26. {% endspaceless %}