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

Glide with path broken since 2.1.3 #898

Closed
subpixelch opened this Issue Aug 26, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@subpixelch

subpixelch commented Aug 26, 2016

Steps to reproduce

  1. Use {{ glide path="/my/image/is/here.jpg" }}

Expected behaviour

Image should be rendered :) yay!

Actual behaviour

Image isn't rendered :(
(with or without static image caching, doesn't matter, FYI: Exact same code worked in 2.1.2)

Web server:
Valet 1.1.19

PHP version:
PHP7.0

Statamic version:
2.1.3

Updated from an older Statamic or fresh install:
yes

Logs

Statamic error log (/local/storage/logs/statamic.log)

[2016-08-25 15:25:51] local.ERROR: League\Glide\Filesystem\FileNotFoundException: Could not find the image `design/img/michael_ritter.jpg`. in /Users/patrick/Desktop/websites/ritterkoller/statamic/vendor/league/glide/src/Server.php:495
Stack trace:
#0 /Users/patrick/Desktop/websites/ritterkoller/statamic/core/Imaging/ImageGenerator.php(135): League\Glide\Server->makeImage('design/img/mich...', Array)
#1 /Users/patrick/Desktop/websites/ritterkoller/statamic/core/Imaging/ImageGenerator.php(61): Statamic\Imaging\ImageGenerator->generate('design/img/mich...')
#2 /Users/patrick/Desktop/websites/ritterkoller/statamic/core/Http/Controllers/GlideController.php(59): Statamic\Imaging\ImageGenerator->generateByPath('design/img/mich...', Array)
#3 [internal function]: Statamic\Http\Controllers\GlideController->generateByPath('design/img/mich...')
#4 /Users/patrick/Desktop/websites/ritterkoller/statamic/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(256): call_user_func_array(Array, Array)

Browser log

cursor_und_home___statamic_boilderplate_4_0_0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment