diff --git a/README.md b/README.md index 947332e37..fdf92bfde 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,11 @@ Or if you're using PHP templates: ``` php ``` +If you need to access filtered image URL in your controller: + +``` php +$this->get('liip_imagine.cache.manager')->getBrowserPath('/relative/path/to/image.jpg', 'my_thumb', true), +``` Note: Using the ``dev`` environment you might find that the images are not properly rendered when using the template helper. This is likely caused by having ``intercept_redirect`` enabled in your