Open blue148 opened 9 years ago
the scale2h snippet is returning the height declare in the input filter instead of the calculated width for the asset_id.width placeholder.
line 50: $modx->setPlaceholder('asset_id.width', $ny);
this should be $modx->setPlaceholder('asset_id.width', $nx); which would return the calculated width.
the scale2h snippet is returning the height declare in the input filter instead of the calculated width for the asset_id.width placeholder.
line 50: $modx->setPlaceholder('asset_id.width', $ny);
this should be $modx->setPlaceholder('asset_id.width', $nx); which would return the calculated width.