Skip to content
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

Featured Image Not showing WordPress #8

Open
gopika25-08-1997 opened this issue Jul 6, 2021 · 3 comments
Open

Featured Image Not showing WordPress #8

gopika25-08-1997 opened this issue Jul 6, 2021 · 3 comments

Comments

@gopika25-08-1997
Copy link

We had made super desk and WordPress installation using docker compose file and also published some of the contents to WordPress .But we are facing some issue in featured image upload now.The featured image upload
works properly in super desk but it is not publishing into WordPress.

media

@Aaronjacobs678
Copy link

I had this initially! I re-installed Ubuntu 20.04 (non docker) and after a fresh installation and double check of the settings, it worked! How bizzare? The only other change I made was serving my images from AWS S3.

@gopika25-08-1997
Copy link
Author

How did you serve the images from AWS S3 to Wordpress?
How did you change the default url of featured image ?

@Aaronjacobs678
Copy link

How did you serve the images from AWS S3 to Wordpress?
How did you change the default url of featured image ?

I always had difficulties with getting images to show up in Wordpress back-end. To show front-end I used the following code.However things may have changed since I did it, so refer back to the manual :-)

`#: amazon access key
AMAZON_ACCESS_KEY_ID = env("AMAZON_ACCESS_KEY_ID", "ADD ID HERE")
#: amazon secret access key
AMAZON_SECRET_ACCESS_KEY = env("AMAZON_SECRET_ACCESS_KEY", "ADD KEY HERE")
#: amazon region
AMAZON_REGION = env("AMAZON_REGION", "ADD REGION")
#: amazon bucket name
AMAZON_CONTAINER_NAME = env("AMAZON_CONTAINER_NAME", "ADD CONTAINER NAME HERE")
#: use subfolder in bucket to store files
AMAZON_S3_SUBFOLDER = env("AMAZON_S3_SUBFOLDER", "ADD SUB FOLDER NAME")
#: adds ACL when putting to S3, can be set to public-read, etc.
AMAZON_OBJECT_ACL = env("AMAZON_OBJECT_ACL", "public-read")

#: uses for generation of media url (<media_prefix>/<media_id>)::
MEDIA_PREFIX = env("MEDIA_PREFIX", "ADD MEDIA PREFIX HERE")`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants