get recent photos from database
admin panel uses database
delete photos from admin panel, process uses database now