Active
Project:
Computed Field
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 May 2012 at 08:19 UTC
Updated:
2 May 2012 at 08:19 UTC
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.