support for selecting <img> source