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

Add a script to find and request all image versions in all posts #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MrSunshyne
Copy link

Why?

This is useful to force ghost to create all image versions for all images, especially when the content is being consumed by a static(SSG) frontend and the frontend requires responsive images to exist.

Ghost only creates the images when they are requested. In certain use-cases, such as SSG frontends, where ghost is no longer accessible after the built frontend is deployed, missing responsive images can be a pain. Instead of manually visiting all pages, in different screen sizes, this script accesses all of them to help ghost generate the images.

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

Successfully merging this pull request may close these issues.

1 participant