-
2 votesanswersviews
雪崩的问题 - 想象在symfony2中
我正在尝试使用Avalanche-imagine捆绑创建缩略图 . 我使用OS X 10.7 Lion和MAMP PRO作为Apache服务器 . 当我在twig文件中调用过滤器时,出现500错误 . 在这里我手动放置路径来检查它: <img src='{{'store/images/Pictures/P1000665.JPG' | apply_filter('my_thumb')}}'&g... -
0 votesanswersviews
Symfony想象捆绑
8,我无法将其升级到4.现在我遇到了问题 . 我想象捆绑包正在运行,但我应该删除链接的一部分 . 这是我的config.yml liip_imagine: resolvers: default: web_path: web_root: %kernel.root_dir%/../public_html/ cache_prefi... -
1 votesanswersviews
使用Imagine bundle调整图像大小模糊图像
我有以下代码: $imagine = new \Imagine\Gd\Imagine(); $image = $imagine->open($src); $image_size = $image->getSize(); $image_height = $image_size->getHeight(); $image_...