fixed a bug in Product#image