Implemented centralized image loading