[Refactoring] Improve sample images load