image code modification