adding media image support