-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong image URL in v1.0 #349
Comments
any options were changed in 0.21. Are you sure you updated the code up to 0.21 not 1.0? |
I'm sorry, of course I updated to 1.0, not 0.21, I just checked composer.json, I referred to the "releases" section of the project earlier for the version number. But still the question above remains. Thanks. |
I think the url is correct, Why do you think it has to start from There is an option you can use to change the prefix back: liip_imagine:
resolvers:
web_path:
web_path:
cache_prefix: symfony/media/cache |
The I did set the cache prefix earlier as you suggest above and it worked, but the problem with this solution is that this creates a Is it possible to not have the This was possible with the older version of LiipImagineBundle. Here's what my config looked like back then:
|
Any ideas? This issue has been affecting the entire experience with the site since the update... |
I dont think it was working before. Except I cannot imagine how it was possible. For now you can switch back to 0.x branch or extend resolver class and add the prefix to resolve method. |
Okay, reverted to 0.x branch and everything is working as before. The URL now looks like this: |
After updating to v1.0, the generated image URLs from LiipImagineBundle (I use getBrowserPath) are no longer valid. My Symfony2 application is accessible under:
http://localhost/symfony/app_dev.php
LiipImagineBundle generates URL such as:
http://localhost/media/cache/my_filter/media/images/user/6e5d32be98f9c16df9a56460f0b083f199dd7790.jpeg
The correct URL would be:
http://localhost/symfony/media/cache/my_filter/media/images/user/6e5d32be98f9c16df9a56460f0b083f199dd7790.jpeg
Since the config options had changed quite a bit in this new version, is there any other config option I need to set to obtain the correct URL?
Thanks.
The text was updated successfully, but these errors were encountered: