liipimaginebundle

    1熱度

    1回答

    我使用Symfony的2.0.19與LiipImagineBundle 我想使用的過濾器用於將圖像從網頁(例如:http://images.apple.com/retail/fifthavenue/images/fifthavenue_hero.jpg),但imagine_filter似乎沒有從網圖像工作。 有人有說明嗎? config.yml: liip_imagine: filter

    7熱度

    3回答

    在Symfony2中的config.yml您可以添加一個「舶來品」,如: imports: - { resource: services.yml } 裏面我services.yml我那麼有: imports: security_bundle: resource: @AcmeSecurityBundle/Resources/config/services.yml

    2熱度

    2回答

    我已經在Symfony 2.1中安裝了LiipImagineBundle,並且我正嘗試將它用於用戶配置文件的頭像。 Liip有某些設置不允許您在寬度和高度上調整大小。 my_heighten: filters: relative_resize: { heighten: 60 } # Transforms 50x40 to 75x60 my_widen:

    4熱度

    2回答

    這裏運行LiipImagineBundle是我遵循的步驟: 添加以下我composer.json: "require": { "imagine/Imagine": ">=0.2.8", "liip/imagine-bundle": "*@dev", .... } 然在以下命令行命令: composer update Installing imagine