Currently we have the specific ratio of 1000/420 for main images. I think this should be configurable for admins, including restricting to only square, for example, or allowing any size up to some amount.
For the time being, we should at least support passing in the ratio into YPImagePicker...
It looks like we might be able to use this config:
config.showsCrop = .rectangle(ratio: (100/42))
Or something else. Some way we should be able to pass that in.
Any scenario where we are not cropping the image (like a body image within a post or comment) we do not want to pass this config.
Currently we have the specific ratio of 1000/420 for main images. I think this should be configurable for admins, including restricting to only square, for example, or allowing any size up to some amount.
For the time being, we should at least support passing in the ratio into
YPImagePicker
...It looks like we might be able to use this config:
config.showsCrop = .rectangle(ratio: (100/42))
Or something else. Some way we should be able to pass that in.
Any scenario where we are not cropping the image (like a body image within a post or comment) we do not want to pass this config.