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
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.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
is working on a reply...