Is it possible to display an image in the smart client view when an alarm is triggered?

I would like to display an image on a person when an alarm is triggered, i’ve looked at SCOverlayOnEvent, it displays messages. I am thinking if its possible to modify it to display image instead?

Yes, you can use any FrameworkElement, so you can use an Image.

As an experiment I modified the ActiveElementsOverlay sample. In ActiveElementsOverlayBackgroundPlugin I added this method:

private void AddImage(ImageViewerAddOn imageViewerAddOn)
{
	ImageSource imageSource = new System.Windows.Media.Imaging.BitmapImage(new Uri(@"c:\_temp\test.bmp"));
	Image imageFile = new System.Windows.Controls.Image() { Source = imageSource, Width = 360, Height = 240 };
	Canvas.SetLeft(imageFile, 40);
	Canvas.SetTop(imageFile, 240);
	imageViewerAddOn.ActiveElementsOverlayAdd(new List<FrameworkElement> { imageFile }, new ActiveElementsOverlayRenderParameters() { FollowDigitalZoom = true, ShowAlways = true, ZOrder = 2 });
}

And then I added this line to ActiveElementsOverlayBackgroundPlugin at line 93

Guid borderId = AddBorder(imageViewerAddOn);
AddImage(imageViewerAddOn); //added line

Now I was able to see the image from the file on the camera views.

https://doc.developer.milestonesys.com/html/index.html?base=samples/activeelementsoverlay_sample.html&tree=tree_1.html