change de file extension for load image