Adding 'output_image_object' hook