You must collect all the data necessary for the partial controller in the current action (which can use methods shared by other controllers and actions).
If you really want the partial image to be displayed using your own controller / action, then consider loading it through AJAX with a separate request.
source share