Updated addImage example