Adding image code