[+] CORE : ImageManager - Add error handling for resize function