yroot/neos-image-optimizer

Neos Image Optimizer

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:neos-package

dev-master 2018-03-16 17:56 UTC

This package is auto-updated.

Last update: 2024-04-17 09:44:49 UTC


README

!!! This plugin is not completely tested !!!

Configuration

Settings.yaml

Neos:
  Flow:
    resource:
      storages:
        swiftPersistentResourcesStorage:
          storage: 'Yroot\OpenStack\Swift\SwiftStorage'
          storageOptions:
            container: '{container}'
            #keyPrefix: '{keyPrefix}'

      collections:

      # Collection which contains all persistent resources
        persistent:
          storage: 'swiftPersistentResourcesStorage'
          target: 'swiftPersistentResourcesTarget'

      targets:
        localWebDirectoryPersistentResourcesTarget:
          target: 'Neos\Flow\ResourceManagement\Target\FileSystemTarget'
          targetOptions:
            path: '%FLOW_PATH_WEB%_Resources/Persistent/'
            baseUri: '_Resources/Persistent/'
            subdivideHashPathSegment: false

        swiftPersistentResourcesTarget:
          target: 'Yroot\OpenStack\Swift\SwiftTarget'
          targetOptions:
            container: '{container}'
            #keyPrefix: '{keyPrefix}'
            #baseUri: '{baseUri}'

Yroot:
  OpenStack:
    Swift:
      profiles:
        default:
          authUrl: '{authUrl}'
          region: '{region}'
          user:
            username: '{username}'
            password: '{password}'
          tenant:
            id: '{tenantId}'
            name: '{tenantName}'

Thanks & credits

The base for this plugin is the GCS Adaptor from Flownative!