node.add_node by code -> use_transform doesn't work
There are two operators called: bpy.ops.node.add_node() and bpy.ops.node.translate_attach_remove_on_cancel(). To get the same result, you put the second(modal) operator in your return and use the INVOKE_DEFAULT option:

class NODEEDITOR_texture_image(bpy.types.Operator):
"""Image Texture\nHere you can load an image as a texture"""
bl_idname = "node.texture_image"
bl_label = "texture image"
bl_options = {'REGISTER', 'UNDO'}

def execute(self, context):
    bpy.ops.node.add_node(type="ShaderNodeTexImage", use_transform=True)
    return bpy.ops.node.translate_attach_remove_on_cancel('INVOKE_DEFAULT')