Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Koen van Ras-Neve 56 posts 361 karma points c-trib
    Jan 28, 2019 @ 10:44
    Koen van Ras-Neve
    0

    ApplicationEventHandler prompt

    Hi,

    I created a media service event handler for "saving" where I check the aspect ratio of an uploaded image.

    Now what I want to do is prompt the user after uploading an image if the image is not the desired aspect ratio, if they still want to upload the file.

    How do I do this, I have been trying to figure it out with umbraco.services.notificationsService but haven't found it yet.

    The solution I'm looking for should be somewhat like the prompt you receive when you leave a node without saving the changes.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies