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

Images not outputted on first request of resize #74

Closed
mauserrifle opened this issue Feb 18, 2015 · 2 comments
Closed

Images not outputted on first request of resize #74

mauserrifle opened this issue Feb 18, 2015 · 2 comments

Comments

@mauserrifle
Copy link
Contributor

Hi,

When a thumb generates. No image output is received:

Cache-Control: no-cache
Connection: Keep-Alive
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html; charset=UTF-8
Date: Wed, 18 Feb 2015 14:06:42 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.2.22 (Debian)
Vary: Accept-Encoding
X-Powered-By: PHP/5.5.21-1~dotdeb.1
x-robots-tag: noindex, noarchive, nosnippet

After refreshing the URL it is served static. Something is bugged?

@mauserrifle
Copy link
Contributor Author

Fix #75

    $this->app->make('router')->get('{path}', function($path) use ($croppa) {
        $image = $croppa->generate($path);
        return \Response::stream(function() use ($image) {
            return $image->show();
        });

This response code has been deleted within the latest commits/merge!

@weotch
Copy link
Member

weotch commented Feb 18, 2015

Merged and tagged as 3.6.1. Thanks!

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

No branches or pull requests

2 participants