getkirby / getkirby.com

Source code and content for the Kirby website
https://getkirby.com
125 stars 260 forks source link

`FileVersion` for `cdn` plugin #2327

Closed distantnative closed 1 month ago

distantnative commented 1 month ago

Description

Summary of changes

Reasoning

In the CDN context, we cannot easily measure the dimensions of the thumb file. Which is why without this fix, $thumb->width() and $thumb->height() would return the dimensions of the original, not the thumb. This PR fixes that.