Adds new image replacement method