Blueimp jQuery File Upload Integrated with Database
===

This plugin reads image files on **blueimproot/server/php/files** on page load. I need to read records from database, and replace 'download' HTML structure with my custom structure. I want to show catalog products, which items are affected by uploading/removing images through this plugin.

I've done this so far:

- I changed `public function get() { ... }` in **blueimproot/server/php/upload.class.php** to retrieve records from database. This function returns json object.
- I found that function is called from *index.php* in **blueimproot/server/php**:

        switch ($_SERVER['REQUEST_METHOD']) {
            ...
            case 'GET':
                $upload_handler->get();
                break;
            ...
        }

I don't know where the returned json object is processed to show to UI. Have been 2 days and still can't track that function flow. Please help. Thanks.