Need help replacing a page

I wrote a plugin that adds some features to this plugin, speciafically on the siteimagesowner page, it adds unctionality to throw images into a default folder, and I'm basically finished with it. However, I'm having some trouble with the start.php page. Despite looking into the start.php of the tidipcs plugin, I cannot get it right. Can I ask some help on how to write a start.php that uses the siteimagesowner page in my plugin instead of the one in tidypics? PS. just in case it makes a difference, the name of my plugin is SpikemodDisplay.

Thanks in advance for your help!

Some code that I have so far:

<?php

elgg_register_event_handler('init', 'system', 'SpikePluginInit');

function SpikePluginInit() {
    // Register a page handler so we can have nice URLs
    elgg_register_page_handler('photos', 'tidypics_page_handler');
}
 
 /* This part breaks ELGG, it suddenly shows no images
function tidypics_page_handler($page) {
    if (!isset($page[0])) {
            return false;
        }
        elgg_load_js('tidypics');
        
        $base = elgg_get_plugins_path() . 'SpikeModDisplay/pages/photos';
        $base_lists = elgg_get_plugins_path() . 'SpikeModDisplay/pages/lists';
        switch ($page[0]) {
            case "siteimagesowner":
                if (isset($page[1])) {
                    set_input('guid', $page[1]);
                }
                require "$base_lists/siteimagesowner.php";
                break;
            default:
                return false;
        }
        
        return true;
}
*/