Broken thumbnails in CP Assets #8167
Unanswered
dvteam
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
I had a similar issue. Please double check for the PHP extension |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have Statamic 4.1.3 installed on my localhost + on shared hosting
Both installations have the same problem with assets - I can't see thumbnails for SOME images there.

(No difference under Statamic 4.1.1 and 4.1.2 and 4.1.3)
Say this one is broken after uploading
CM5A8898
URL which is in HTML is
http://stiliant.local/cp/thumbnails/cHJvZHVjdHM6OjAxcDJrL2NtNWE4ODk4LmpwZw==/small
But I redirected to this one which is not exists
http://stiliant.local/vendor/statamic/cp/svg/filetypes/picture.svg
If I try to open the file with double-click I can't see any problem, file is there.
I can see the file in cache also. But not in thumbnails in CP.
No any difference if I upload the file into standard Assets container.
Another one is similar but everything is OK
IMG_6658
What is wrong with the file?
Not sure it is important but statamic is installed into public_html folder and uses rewrite rules in .htaccess to work properly
`RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} ^.$
RewriteCond %{REQUEST_URI} !public/
RewriteRule ^(.)$ public/$1 [L]`
What can I do to fix the issue?
UPD: Tested on Statamic 3.3.68 - it works well with the same image.
It looks like something wrong with "Image Manipulation" / "Process Source Images" feature. I tried to reduce the image size to make it less than one defined in preset - it works well now with the manually resized image.
Beta Was this translation helpful? Give feedback.
All reactions