Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
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:
<img src="@Url.GetCropUrl(Model.Content, "image", "banner")" />
where banner is the alias of the crop you setup in the Image cropper.
Or did I misunderstand your question?
Hope this helps!
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.
glad you solved the problem!
Have a nice day!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted