Correct media and size on layout

Signed-off-by: Fabrice BREBION <fabrice@brebion.info>