make setImageAnimated public