Cecil logo
March 25, 2022

Cecil 5.88.0 released

Features

Get width and height of a SVG

If you create an asset from a SVG file you can now get its width and height.

Usage example:

{% set image = asset('image.svg') %}
<img src="{{ image|url }}" width="{{ image.width }}" height="{{ image.height }}" />

See Templates > asset > Attributes documentation for details.

Misc

  • Dependencies updated
  • Documentation fixed
Release notes on GitHub