improvements to the tagless_image_helper