Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Optimize images #45

Closed
MrGreenTea opened this issue Nov 3, 2023 · 6 comments · Fixed by #103
Closed

Optimize images #45

MrGreenTea opened this issue Nov 3, 2023 · 6 comments · Fixed by #103

Comments

@MrGreenTea
Copy link
Contributor

When building the page we should optimize images.

Here are some links:

@MrGreenTea
Copy link
Contributor Author

@MrGreenTea
Copy link
Contributor Author

MrGreenTea commented Nov 22, 2023

Svelte have recently released this package:

https://kit.svelte.dev/docs/images

https://www.npmjs.com/package/@sveltejs/enhanced-img

@MrGreenTea
Copy link
Contributor Author

Should we start using a CMS or CDN we should take a look at https://unpic.pics/img/

@MrGreenTea
Copy link
Contributor Author

I'm not sure how we can best optimize background images though. @sveltejs/enhanced-img only works for the img tag.

@MrGreenTea
Copy link
Contributor Author

We can of course use an img tag instead of background-image and place it behind everythin but that feels wrong...

MrGreenTea added a commit that referenced this issue Nov 24, 2023
MrGreenTea added a commit that referenced this issue Nov 24, 2023
MrGreenTea added a commit that referenced this issue Nov 24, 2023
@MrGreenTea
Copy link
Contributor Author

sveltejs/kit#8561

MrGreenTea added a commit that referenced this issue Nov 30, 2023
MrGreenTea added a commit that referenced this issue Nov 30, 2023
MrGreenTea added a commit that referenced this issue Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant