update leader image code to use specific image size