Add FileVersion variant for our cdn plugin that calculates width and hight dimensions from the passed modifications array
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.
Description
Summary of changes
FileVersion
variant for ourcdn
plugin that calculates width and hight dimensions from the passed modifications arrayReasoning
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.