changed image code