This would be like any other A/B test. You can create an experiment with a feature flag split on some user-id - perhaps anonymous if it is an image logged out users see. In your code you show one image or the other based upon the value of that flag. You add an onClick event handler to send to your data warehouse the event that someone did a dead click on the image. You then add a metric in GB that looks at the number of dead clicks and have that metric as one of your goal metrics of your experiment.