2015-01-07 2 views
3

를 적용한 후 저장 경로를 변경 :LiipImagineBundle :이이 설정을 가지고있는 이미지 필터

liip_imagine: 
    resolvers: 
     default: 
      web_path: ~ 

    filter_sets: 
     cache: ~ 
     subitem_in_category: 
      path: ~ ///how to change the default path where the images are saved? 
      filters: 
       my_custom_filter: { } 
       relative_resize: { heighten: 210 } 

임 이미지가 저장됩니다 wheren 디렉토리의 이름을 변경하려고,하지만 난

를 얻을 수

InvalidConfigurationException : "liip_imagine.filter_sets.subitem_in_category"

에서 인식 할 수없는 옵션 "경로" 나는 이것을 읽었습니다. https://github.com/liip/LiipImagineBundle/blob/master/Resources/doc/configuration.md

답변

1

구성 요소 종속성에 대한 잘못된 설계로 인해 일부 기능이 제거되었습니다. here 설명 된대로 동일한 기능에 대한

See this pull request for further motivations about this.는 몇 가지 해결 프로그램을 구성하는 것이 좋습니다 :

다른
liip_imagine: 
    resolvers: 
     foo: 
     web_path: 
      cache_prefix: foo 
     bar: 
     web_path: 
      cache_prefix: bar 
    filter_sets: 
    foo: 
     cache: foo 
    bar: 
     cache: bar 

당신이 번들의 이전 분기를 사용할 수 있습니다.

희망이 도움말

+0

지금 내가 묶음의 설명서에 대한 풀 요청을 최대한 빨리 열어 보겠습니다. – Matteo