Beginning change of ResourceController. Load image and get image complete