We are working on a very large website and need to separate the very large legacy parts from a new section.
Is there a way to have/access multiple sets of crops?
I can easily create more instances of the Image Cropper datatype but when using the "GetCropUrl" method there i no way to specify which instance to access.
Turns out that i was wrong. It seems that when you have multiple instances of Image Croppers, the system will access the combined list of crops when using the GetCropUrl method.
Image cropper: Multiple crop sets
We are working on a very large website and need to separate the very large legacy parts from a new section.
Is there a way to have/access multiple sets of crops?
I can easily create more instances of the Image Cropper datatype but when using the "GetCropUrl" method there i no way to specify which instance to access.
Hi illumi,
can you give some more details about the problem you have?
Normally you can edit the Image Cropper datatype and add multiple crops where each crop has its own alias and properties.
Then in the view you can access each crop by using:
where banner is the alias of the crop you setup in the Image cropper.
Or did I misunderstand your question?
Hope this helps!
/Michaël
Hi Michaël
Thanks for replying.
Turns out that i was wrong. It seems that when you have multiple instances of Image Croppers, the system will access the combined list of crops when using the GetCropUrl method.
So it works.
Hi illumi,
glad you solved the problem!
Have a nice day!
/Michaël
is working on a reply...