performance/syntax tweaks to the img_holder helper