dynamic class added helper for output placeholder image
placeholder img function added mode that just return binary img