Python Addon - Image Input

Hey, I’m trying to implement one of my custom operators as an addon for blender. There I want to get an image as an input and I’m tryning to draw it in the UI Panel:

class VIEW3D_PT_pixel_grid(bpy.types.Panel):
    bl_space_type = "VIEW_3D"
    bl_region_type = "UI"
    bl_category = "Pixel Grid"
    bl_label = "Pixel Grid"

    my_image = bpy.props.PointerProperty(
        name="image",
        type=bpy.types.Image
    )

    def draw(self, context):
        self.layout.operator("mesh.pixel_grid")
        self.layout.label(text="test")
        self.layout.template_ID(self, "my_image")

def register():
    bpy.utils.register_class(VIEW3D_PT_pixel_grid)
    bpy.utils.register_class(MESH_OT_pixel_grid)  

def unregister():
    bpy.utils.unregister_class(MESH_OT_pixel_grid)
    bpy.utils.unregister_class(VIEW3D_PT_pixel_grid)

But I get this result:
rna_uiTemplateID: property not found: VIEW3D_PT_pixel_grid.my_image

I can’t find a solution and don’t understand the process. Does anybody have an advice?

I want to get this:
image

So that the Operator can work with the user input.

Thanks a lot!