On your "test" server is it also setup to have a subdirectory within the HTTP_SERVER and secure version of the same?
I'm thinking that the code in the image_handler.php file which references using DIR_WS_CATALOG where in your case is setup as / but is acting like /xxxxxxxx/ is possibly causing this issue.
Might suggest modifying line say line 752 of image_handler.php for you from:
Code:
echo zen_image(DIR_WS_CATALOG . $preview_image, addslashes($pInfo->products_name), $width, $height) . '<br />';
To:
Code:
echo zen_image('/xxxxxx' . DIR_WS_CATALOG . $preview_image, addslashes($pInfo->products_name), $width, $height) . '<br />';
Where '/xxxxxx' is the "hidden" portion of your uri in the admin/includes/configure.php.
Might have a better solution later if that is successful. Preferably one that doesn't require any further editing.
Bookmarks