However, the ImageConnect and ImageDisconnect methods are never called. So the variable image_connect_count_ always remains 0. I'm currently ignoring this value so it always publishes the image information even if no one is listening. This is not very efficient but works for now.
image_common is a ROS package, so maybe this is a task they need to solve?