This plugin enables the use of a custom Liquid tag {% aspectratio filepath %}, to find the aspect ratio of an image or video file. This can be used for e.g. specifying the flex-grow value of an item to display items of different aspect ratios on one line at the same height, or to separate out horizontal or vertical videos (aspect ratio > or < than 1).

Required Ruby Version

>= 0

Authors

Beth Crane

Versions

  1. 0.0.1 May 10, 2020 (5 KB)
  2. 0.0.0 May 10, 2020 (5 KB)

Pushed by

SHA 256 checksum