-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Image v3.0 Size Issue #21
Comments
Not sure what's with your setup.
It seems to work for me: |
I've followed all the steps you mentioned above, and the images have become clearer. However, most of the images are still cropped. You could refer to images in "CTF 2023" |
Update npm install @hyas/images@latest Update parameters in # Images (@hyas/images)
[hyas_images]
[hyas_images.defaults]
decoding = "async" # sync, async, or auto (default)
fetchpriority = "auto" # high, low, or auto (default)
loading = "lazy" # eager or lazy (default)
widths = [480, 576, 768, 1025, 1200, 1440] # [640, 768, 1024, 1366, 1600, 1920] for example
sizes = "auto" # 100vw (default), 75vw, or auto for example
process = "" # "fill 1600x900" or "fill 2100x900" for example
lqip = "16x webp q20" # "16x webp q20" or "21x webp q20" for example Add CSS — if not already present And, boom: |
Followed exactly what you've asked me to do, and now the images are having the original issue where it is dragged and blur again, refer here. |
You did not (add the CSS) — comment out this line: https://github.com/encient/encient.github.io/blob/main/config/_default/module.toml#L23 |
Finally..... It works!!! |
Description
Thank you for updating to Image v3.0. I have updated my Image to v3.0. My images in the website seems to look weird when the width of the image is more than +-1300px (not sure, just a guess)
Steps done
I've updated my repo using this command:
npm install @hyas/images@latest
Actual result
The image above became blur with a weird size
The image above seems to be dragged longer, but I think the width is maintained and not changed, original image shown below:
Environment
The text was updated successfully, but these errors were encountered: