For the gallery a customized version of the extension sf_filecollection_gallery used.