So I need to AJAX-reload part of a page, and so I'm building a little module to just return drupal_render($node->content['the_field']). Which seems to work fine, it's returning the same output as what was originally on the page.
The problem is that I need to send a parameter from the module to the theme layer to change some imagecache preset names depending on some states on the page.
What would be the best way to move data from the URL of my AJAX request through the module into the field's theme template?