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 migrating content from an old site (7.15.4) into heartcore.
The current content structure is a bit convoluted so we've opted to bake our own migration engine where we push content into heartcore via the API.
We've hit a wall with imagecropper content.
We've tried to send it over as the following json
But It does not seem to work.
Any ideas? Perhaps even an example on how you've done it.
This looks like the correct format for a cropped media but I don't think that you need to add the crops in the body, as I believe that they should be created automatically once the media file is uploaded to the backoffice.
You can check out our docs here - https://our.umbraco.com/documentation/Umbraco-Heartcore/API-Documentation/Content-Management/content/#create-content-with-files and you're always welcome to reach out to our support.
It'll definitely be easier to help you if they're able to see what you're working with etc. :)
We got it working with the following:
"$invariant": "Node name"
With a PUT request at:
Awesome to hear that :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted