-
Notifications
You must be signed in to change notification settings - Fork 59
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 showing in production. #107
Comments
sorry for taking too long to respond, honestly it works fine with me maybe your configuration is incorrect? |
Hi! it's okay. |
@czepesch haha reminds me when we first adopted flutter v2 and dart turned null safety on. Took months for all the libraries to get updated. From the looks of it the issue isn't from our gem as it simply shows the image without any sass, just a simple css file that makes it look tidy I think the issue is with adminstrate itself If you can post a sample project I might be able to help more 🙏🏻 |
@Dreamersoul yes, repo is public, you can look at it: https://github.com/r-rails/plants |
same error here, preview not showing, but clicking the file name downloads the file, and works fine on the view itself. rails 7 + tailwind. Console shows : but clicking the text downloads the file fine from: |
I was able to fix this issue by installing libvips. The field is trying to show a variant and since libvips doesn't exist, it can't generate that variant, hence that broken image. |
Hi.
I was trying to deploy Rails 7 Tailwind app using Dokku, but build was getting error:
SassC::SyntaxError: Error: Function rgb is missing argument $green. on line 1 of stdin >> en-700{--tw-border-opacity:1;border-color:rgb(21 128 61/var
So I had to use fork of Administrate gem which fixes this issue:
thoughtbot/administrate#2116
Now app is deploying like it should, but images in /admin section are not displayed
![image](https://user-images.githubusercontent.com/54212560/178311941-7ef06bdd-2528-4d95-90e5-71c33dfbf79b.png)
This exactly image is displayed on frontend though:
![image](https://user-images.githubusercontent.com/54212560/178313746-814873cc-b299-4b33-b64b-9b1ad1ce22ca.png)
be so kind to give me a hint, maybe I forgot something or misunderstood.
Thanks.
The text was updated successfully, but these errors were encountered: