Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphjsmit authored Jan 1, 2024
1 parent ee9e10f commit a815fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Currently, it's almost a requirement to **load images** on websites in such a way that they are **responsive** and not unnecessarily big. This means that every image should be **scaled down to a variety of sizes**, so that browser on smaller screens don't have to download a large image unnecessarily. This technique is accomplished by using `srcset` and `sizes` attributes on each `img` tag.

However, if you **receive a 3.000 x 2.000px** image from your client, you **don't want** to put this into Figma or other tool, **generate 5 versions**, name them in a sensible way, manually put them in the correct public folder, etc. This is just a tremendous hassle, whereas usually you just want to **drop in the original image** in your project, refer to it via a `src` be done with. This package aims to solve this problem in a simple and sensible way.
However, if you **receive a 3.000 x 2.000px** image from your client, you **don't want** to put this into Figma or other tool, **generate 5 versions**, name them in a sensible way, manually put them in the correct public folder, etc. This is just a tremendous hassle, whereas usually you just want to **drop in the original image** in your project, refer to it via a `src` and be done with. This package aims to solve this problem in a simple and sensible way.

Instead of **manually needing to generate all these images**, we can use an image generator like [Glide](https://glide.thephpleague.com/). This package provides a simple way to reuse or scale images.

Expand Down Expand Up @@ -173,4 +173,4 @@ This package was partially inspired by the archived [flowframe/laravel-glide](ht

🙌 If you want to contribute, please submit a pull request. All PRs will be fully credited. If you're unsure whether I'd accept your idea, feel free to contact me!

🙋‍♂️ [Ralph J. Smit](https://ralphjsmit.com)
🙋‍♂️ [Ralph J. Smit](https://ralphjsmit.com)

0 comments on commit a815fa4

Please sign in to comment.