-
Notifications
You must be signed in to change notification settings - Fork 730
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
Image Previews on Main Blog Page Not Found #533
Comments
Hoping for some help with this, my site looks significantly worse without the pics :) Also, I did get whitenoise successfully installed but the images still aren't appearing. @Fantomas42 any idea why the images aren't showing up in Heroku? |
I'm making progress, but still hoping for help! I got an S3 bucket set up, and if I manually upload images to the bucket, it works (see the first post on the page, which has an image). However, if I try to click "Illustration" and upload one when making a new entry, it won't save the entry and redirects me to an error page. Any idea why? |
Another update in case this will help people in the future. I found a workaround, but it's a very manual one. Still hoping someone knows a better way to do this, but for now at least my images are appearing. I removed all Amazon/whitenoise/whatever configurations from settings. In the html file (linked via Gist in my first post) I changed the image line from: to
Then, I upload the image using the Illustration button when creating an entry, but then also have to upload the image manually to Amazon and set it to "Make Public" for it to work. |
Second this, I am having the same issue! I am running 'out-of-the-box' Zinnia and images uploaded through the Illustration button does not show up! (Not in preview nor in the post). |
Hi,
I can't seem to get the preview images to show up on the blog page when I deploy to Heroku: https://www.boxplotanalytics.com/blog/
This works on my localserver, but won't work on the production site. I read the one help article that said to enable serving static files via amazon. I tried adding whitenoise but it just broke my site. Here are my relevant files let me know if I can provide any additional information to help get this solved.
By the way, if you can think of another way to do it (not using the Illustration upload button when creating the blog post) I'm fine with that too. I don't mind storing the files somewhere else I just can't figure out how to connect them to the correct blog posts in the loop.
Thank you,
Barb
settings.py:
urls.py (project level):
_entry_detail_base.html:
See this gist.
The text was updated successfully, but these errors were encountered: