FIxed some templates and pagination. Pipe broken images are now hidden