made sure only posts with images show up, added an images per pile option and added the media pile function