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 11 posts 123 karma points
    19 days ago
    Koen van Ras
    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.

Please Sign in or register to post replies

Write your reply to:

Draft