random images work for medium and large