changes to the homepage slider so it accept only images