Revert "Revert "DRY the photos helper""
Revert "Revert "DRY the photos helper""

This reverts commit 7f7f2cae47f3956d797456b626418e6fff49da14.

Br3nda/growstuff,yez/growstuff,cesy/growstuff,yez/growstuff,Br3nda/growstuff,cesy/growstuff,Growstuff/growstuff,cesy/growstuff,Br3nda/growstuff,yez/growstuff,Growstuff/growstuff,yez/growstuff,Growstuff/growstuff,cesy/growstuff,Br3nda/growstuff,Growstuff/growstuff