Fallback Image Path

You can use this script transform to find if the image with given name exists:

def transform(self, value, quality, timestamp):
	from com.inductiveautomation.ignition.gateway import IgnitionGateway
	from com.inductiveautomation.ignition.gateway.images import ImageRecord
	
	imageManager = IgnitionGateway.get().getImageManager()
	return value in [image.getString(ImageRecord.Path) for image in imageManager.getImages('')]

Or you can use this 3rd party module:
Automation Professionals’ Blob Server Module

2 Likes