Added image replacement.