Finished method to filter pictures in DB
AJAX for displaying collage
AJAX for displaying collage