We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the readme, the following code should return the browser path for the generated thumb if called from a controller:
$imagemanagerResponse = $this->container->get('liip_imagine.controller')->filterAction( [...] ); $srcPath = $imagemanagerResponse->headers->get('location');
With Sf 2.2.2dev and liip/imagine-bundle:dev-master, the location field is not set in the headers.
The text was updated successfully, but these errors were encountered:
Well, the README is wrong on this and will be updated.
Sorry, something went wrong.
Very interesting by the answer as well. Thx to update the README or just explain the solution.
@michmichant check #175, it's about CacheManager::getBrowserPath.
CacheManager::getBrowserPath
No branches or pull requests
According to the readme, the following code should return the browser path for the generated thumb if called from a controller:
$imagemanagerResponse = $this->container->get('liip_imagine.controller')->filterAction(
[...]
);
$srcPath = $imagemanagerResponse->headers->get('location');
With Sf 2.2.2dev and liip/imagine-bundle:dev-master, the location field is not set in the headers.
The text was updated successfully, but these errors were encountered: