Remove slash from img path