Make sure we only pass media to objects that need it
Make arrays for the images