-
Notifications
You must be signed in to change notification settings - Fork 24
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 being generated #103
Comments
Hey @andylarkum, What's the output of |
Hi @joshuablum Thanks for getting back to me here. Results:
return [
'image_manipulation' => [
'route' => 'img',
'secure' => true,
'driver' => 'gd',
'cache' => false,
'cache_path' => public_path('img'),
'presets' => [
'xs-webp' => ['w' => 320, 'h' => 10000, 'q' => 85, 'fit' => 'contain', 'fm' => 'webp'],
'sm-webp' => ['w' => 480, 'h' => 10000, 'q' => 85, 'fit' => 'contain', 'fm' => 'webp'],
'md-webp' => ['w' => 768, 'h' => 10000, 'q' => 85, 'fit' => 'contain', 'fm' => 'webp'],
'lg-webp' => ['w' => 1280, 'h' => 10000, 'q' => 85, 'fit' => 'contain', 'fm' => 'webp'],
'xl-webp' => ['w' => 1440, 'h' => 10000, 'q' => 95, 'fit' => 'contain', 'fm' => 'webp'],
'2xl-webp' => ['w' => 1680, 'h' => 10000, 'q' => 95, 'fit' => 'contain', 'fm' => 'webp'],
'xs' => ['w' => 320, 'h' => 10000, 'q' => 85, 'fit' => 'contain'],
'sm' => ['w' => 480, 'h' => 10000, 'q' => 85, 'fit' => 'contain'],
'md' => ['w' => 768, 'h' => 10000, 'q' => 85, 'fit' => 'contain'],
'lg' => ['w' => 1280, 'h' => 10000, 'q' => 85, 'fit' => 'contain'],
'xl' => ['w' => 1440, 'h' => 10000, 'q' => 95, 'fit' => 'contain'],
'2xl' => ['w' => 1680, 'h' => 10000, 'q' => 95, 'fit' => 'contain'],
],
],
'auto_crop' => true,
'thumbnails' => [
'max_width' => 10000,
'max_height' => 10000,
],
'google_docs_viewer' => false,
'cache_meta' => true,
]; ...and return [
'base_url' => config('app.url'),
'destination' => storage_path('app/static'),
'copy' => [
public_path('css') => 'css',
public_path('js') => 'js',
public_path('assets') => 'assets',
public_path('fonts') => 'fonts',
],
'symlinks' => [
// public_path('css') => 'css',
// public_path('js') => 'js',
],
'urls' => [
'/posts',
'sitemap.xml',
'robots.txt'
],
'exclude' => [
//
],
'glide' => [
'directory' => 'img',
],
'failures' => false, // 'errors' or 'warnings'
]; |
Thanks for providing those details! Config looks fine to me. What's interesting: Someone else that ran into this issue (or at least very similar) was also on Laravel 8 and PHP 8.0. If it's not too much work, could you try upgrading to Laravel 9 and PHP 8.1? |
OKey doke I've updated to Laravel 9 and PHP 8.1, regenerated and re-synched to AWS S3. I'll update soon... A. |
Nope Still no images. Stumped |
Thanks for the update and for upgrading to Laravel 9 and PHP 8.1! Are you running the plain |
Yup, just generate, no workers |
Where are you running the
I think if you clear your Glide cache (using |
Hi @jasonvarga I discovered that I have to run
...but, perhaps I'll get a different result with |
Hi @andylarkum, Are the images physically missing in the generated folder, or do you maybe experience the same behaviour in HTML I found with using the spatie responsive image plugin after the update: spatie/statamic-responsive-images#146 |
Hi all @globalexport and @jasonvarga - my apologies for not replying sooner. Composer broke - and I've not been able to resolve it yet (throw in a holiday for delay!) In case anyone cares, composer error is: ...which is very annoying, as I've apt remove'd all other versions of PHP other than 8.1! Anyways, I'm believing that the #146 solutions will have solved it once I can get sail up and running again... |
This is a recent issue (like, has only been a problem in the last couple of weeks).
Running
php please ssg:generate
isn't generating the image files for newly added content. Anything older than a couple of weeks ago is working fine, but anything added in the last couple of weeks fails to create.For clarity, the local "live" version of the site works fine, the static version is missing the new images.
No idea where to start debugging this - any pointers/things I can try?
The text was updated successfully, but these errors were encountered: