{"action":"created","issue":{"url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/955","repository_url":"https://api.github.com/repos/liip/LiipImagineBundle","labels_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/955/labels{/name}","comments_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/955/comments","events_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/955/events","html_url":"https://github.com/liip/LiipImagineBundle/issues/955","id":237863014,"number":955,"title":"Resolve image by url instead of filesystem path","user":{"login":"pzaj2","id":19946083,"avatar_url":"https://avatars1.githubusercontent.com/u/19946083?v=3","gravatar_id":"","url":"https://api.github.com/users/pzaj2","html_url":"https://github.com/pzaj2","followers_url":"https://api.github.com/users/pzaj2/followers","following_url":"https://api.github.com/users/pzaj2/following{/other_user}","gists_url":"https://api.github.com/users/pzaj2/gists{/gist_id}","starred_url":"https://api.github.com/users/pzaj2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzaj2/subscriptions","organizations_url":"https://api.github.com/users/pzaj2/orgs","repos_url":"https://api.github.com/users/pzaj2/repos","events_url":"https://api.github.com/users/pzaj2/events{/privacy}","received_events_url":"https://api.github.com/users/pzaj2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-22T14:23:36Z","updated_at":"2017-06-22T15:46:21Z","closed_at":null,"body":"| Q | A\r\n| --- | ---\r\n| Bug Report? | no\r\n| Feature Request? | yes\r\n| BC Break Report? | no\r\n| RFC? | no\r\n| Imagine Bundle Version | 1.7.2\r\n\r\nHi\r\n\r\nI'm looking for information whether it is possible to resolve path based on provided URL? I'm not sure how to explain it, so let me do this using an example. I have a route: `https://example.org/uploads/{identifier}`, that leads to a controller which:\r\n1. Check permissions\r\n2. Resolve actual image path\r\n3. return BinaryResponse containing the image\r\n\r\nI would like to generate a thumbnail with watermark (although this is not relevant here) for this image, so ideally I would like to pass my URL or part of URL (`/uploads/{identifier}`) to imagine_filter twig filter and get thumbnail generated from actual image.\r\n\r\nAny idea how this could be accomplished?"},"comment":{"url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/comments/310420592","html_url":"https://github.com/liip/LiipImagineBundle/issues/955#issuecomment-310420592","issue_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/955","id":310420592,"user":{"login":"robfrawley","id":3967713,"avatar_url":"https://avatars3.githubusercontent.com/u/3967713?v=3","gravatar_id":"","url":"https://api.github.com/users/robfrawley","html_url":"https://github.com/robfrawley","followers_url":"https://api.github.com/users/robfrawley/followers","following_url":"https://api.github.com/users/robfrawley/following{/other_user}","gists_url":"https://api.github.com/users/robfrawley/gists{/gist_id}","starred_url":"https://api.github.com/users/robfrawley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfrawley/subscriptions","organizations_url":"https://api.github.com/users/robfrawley/orgs","repos_url":"https://api.github.com/users/robfrawley/repos","events_url":"https://api.github.com/users/robfrawley/events{/privacy}","received_events_url":"https://api.github.com/users/robfrawley/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T15:46:21Z","updated_at":"2017-06-22T15:46:21Z","body":"Reference the [custom data loader](http://symfony.com/doc/master/bundles/LiipImagineBundle/data-loaders.html#custom-data-loader) documentation."}}
{"actor":{"display_login":"robfrawley"}}