- Option to constrain minimal width and/or height for the uploaded image.
- User image crop can be forced to remain at pre-set ratio
This question has been answered by Jako. See the first response.
Sorry, but that's not possible. Target Aspect Ratio is ignored if Target Height & Target Width are set.
You could set the (target height OR the target width) AND the Target Aspect ratio. That way, the image has to constrain a minimal width OR minimal height and is forced to use an aspect ratio.
In the input options off the template variable. These are shown below of the normal input options. I will attach a screen shot later.
{
"targetHeight":"530",
"targetRatio":"1.4"
}"targetHeight":"530"||"targetRatio":"1.4"
"targetHeight":"530", "targetRatio":"1.4"
..."configs":"{\"targetHeight\":\"530\",\"targetRatio\":\"1.4\"}"...Is it possible, that you are trying to set the input options in MIGX? If yes, try it like this:
..."configs":"{\"targetHeight\":\"530\",\"targetRatio\":\"1.4\"}"...