add fetch logic for animated image