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

Doesn't pull the social card images. #17

Open
jamaalsawyerd opened this issue Feb 26, 2019 · 8 comments
Open

Doesn't pull the social card images. #17

jamaalsawyerd opened this issue Feb 26, 2019 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@jamaalsawyerd
Copy link

Hi, gssg has been a lifesaver, so first and foremost thank you very much sir!

The issue I'm seeing is that the photos for social cards (like Twitter) are not pulled into the content folder.

@SimonMo88
Copy link
Owner

Hey @jamaalsawyerd

Thanks, glad you like it. I'll have to take a look into the social cards issue and maybe deploy a fix. Will update this thread when a fix is on the horizon.

Thanks

@fried-chicken

@SimonMo88 SimonMo88 self-assigned this Feb 26, 2019
@SimonMo88 SimonMo88 added the bug Something isn't working label Feb 26, 2019
@SimonMo88
Copy link
Owner

Hey @jamaalsawyerd

I've just tried the twitter plugin and it seems to work for me.
Which twitter link were you trying to use? As far as I'm aware, the images should be linked from twitter and not pulled to your content folder.

Thanks

@jamaalsawyerd

@jamaalsawyerd
Copy link
Author

Hi @fried-chicken

Please see this video I uploaded:
https://youtu.be/R-VjJS9fzdY

Notice that the image content for the changed twitter card is not pulled into the content folder. If I don't set a special twitter card everything is fine because it uses the normal hero image.

Also, when using gssg for our site I use some other flags like subDir, url, and dest. I just picked the default option for the demo.

@SimonMo88
Copy link
Owner

Hey @jamaalsawyerd

Ahh right, you meant that thing. Thanks for the video!
Sorry, I thought you meant the twitter link to post feature.

Let me take a look at that and get back to you.

Thanks

@fried-chicken

@UnsafePointer
Copy link

@jamaalsawyerd I workaround'ed this by running rsync after gssg, something like:

$ docker exec -it -u `id -u`:`id -g` $ghost_container_id rsync -av /var/lib/ghost/content/images/ /static/content/images/

@jamaalsawyerd
Copy link
Author

Cool, thanks for looking into this!

@gkrizek
Copy link

gkrizek commented Jan 25, 2021

I just hit this error as well. I'll try the rsync on it.

@CKraft11
Copy link

#!/bin/bash date=$(date) git pull origin master rm -r docs mkdir docs cd docs echo "www.mydomain.com" > CNAME cd - gssg --dest docs cd docs/ docker cp ghost:/var/lib/ghost/content/images/. content/images grep -lR "192.168.9.etc:2368" . | xargs sed -i 's/192.168.9.etc:2368/www.mydomain.com/g' cd - git add . git commit -m "$date" git config --global credential.helper store git push -u origin master

patchy script I put together to fix gssg's current issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants