include image in attributes