limit db photo results to 50