Hello, I want my custom macro to insert images in a page but I don't like the fact that I have to upload the files beforehand and look for them in the page attachments.
I was looking at the create attachment api (POST rest/api/content/pageid/child/attachment) and I was thinking to use that inside my dialog js,
Is there an easier way to do this? For example, would it be possible to override the existing upload image macro in some way?
Thanks
Hello Stefano and welcome to the Community!
Something to be aware of is this is a support community and not often browsed by developers. We want to ensure you get the responses and answers you need so we would suggest you check out the Developer Community. The Developer Community may have more available resources to answer or address your developer questions.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.