sonata_media:
    class:
        media: App\Entity\SonataMedia
        gallery: App\Entity\SonataMediaGallery
        gallery_item: App\Entity\SonataMediaGalleryItem
    db_driver: doctrine_orm
    default_context: default
    contexts:
        default:
            providers:
                #- sonata.media.provider.dailymotion
                #- sonata.media.provider.youtube
                - sonata.media.provider.image
                - sonata.media.provider.file
                #- sonata.media.provider.vimeo

            formats:
                small: { width: 100 , quality: 70}
                big:   { width: 500 , quality: 70}
                massage: { width: 415 , height: 289 , quality: 70}
                formule: { width: 424 , height: 289 , quality: 70}
                images: { width: 961 , height: 670 , quality: 70}


    cdn:
        server:
            path: 'https://medias.natea.info/upload/media'

    filesystem:
        local:
            # This directory is used by Sonata Media config validation only.
            # The actual runtime filesystem is overridden in services.yaml
            # to use SftpAdapter → files go directly to medias.natea.info.
            directory: "%kernel.project_dir%/public/upload/media"
            create: false