Skip to content
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

Thumbnail without redirect. How? #465

Closed
Neokortex opened this issue Jul 29, 2014 · 1 comment
Closed

Thumbnail without redirect. How? #465

Neokortex opened this issue Jul 29, 2014 · 1 comment

Comments

@Neokortex
Copy link

I use this bundle with runtime config

{% set runtimeConfig = {"thumbnail": {"size": [50, 50] }} %}
<img src="{{ '/upload/images/48540.jpeg' | imagine_filter('my_thumb', runtimeConfig) }}" />

works fine, but generated image link

http://mysite/app_dev.php/media/cache/my_thumb/rc/srQEyOTi/upload/images/48540.jpeg?filters%5Bthumbnail%5D%5Bsize%5D%5B0%5D=255&filters%5Bthumbnail%5D%5Bsize%5D%5B1%5D=170

this link redirect to

http://mysite/media/cache/resolve/my_thumb/rc/srQEyOTi/upload/images/48540.jpeg

image loading not fast :(

how to avoid this redirect?

@michellesanver
Copy link
Contributor

@Neokortex I am going through all issues to sort and prioritise. Is this still an issue for you? Since this is so old, please open a new issue if that is the case and we will prioritise accordingly and investigate this potential bug. Thanks a lot! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants