add try,catch imageresizer