I would like to scale an image using a mathematical calculation. For example if the length of the image is 70cm I would like to scale it so length = 70cm x 0.04. I want each image to be scaled depending on the length of that image. (length is a ckk field)
I thought to use a computed field to do the calculation but then how would I use this value to scale the actual image.
configuration->media->image styles doesn't seem to have this option.
Thanks.