Kajona\Mediamanager\Portal\MediamanagerPortal::getFilesPerRow

Calculates the number of images per row as defined in the template.