I assume "customsidebarimage" is a field_id of a custom user field? And I assume your user has something entered into that field in his profile?
Try debugging the output of {$visitor.customFields.customsidebarimage} by adding that variable to the top of the template. That should allow you to see the output directly on the page.