Skip to content

Resize blog posts images #230

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HaudinFlorence
Copy link
Member

@HaudinFlorence HaudinFlorence commented Jun 19, 2025

Add a js script to resize the pictures for the blogposts page at start or build time, to avoid to download full size images.
Add the script in the package.json as prestart and prebuild scripts.
Update blogpostsDetails.json and BlogpostCard.tsx.
Remove obsolete or unused scripts and yml file.
Should fix issue #207.

Copy link

vercel bot commented Jun 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quantstack-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 9:08am

Add the script in the package.json as prestart and prebuild.
Update blogpostsDetails.json and BlogpostCard.tsx.
Remove unused or obsolote files in src/components/blog.
Remove gif files and replace them by png images.
Convert svg images to png ones.
@SylvainCorlay
Copy link
Member

Do we need to check in the resized 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.

2 participants