Add support for filtering random photos on string.