uBlogger
uBlogger copied to clipboard
[BUG] The picture on the home page doesn't seem to be full.
Describe the bug
The picture on the home page doesn't seem to be full.
Expected behavior
The picture fills the whole area.
Screenshots
Build Environment
- OS: macOS
- Theme version/commit 2.0.1
- Hugo version 0.80.0
Please try to use Hugo extended version before opening the issue.
Preview Environment
- OS: macOS
- Browser Chrome
Please send this picture for testing
In fact, any picture is not full, you can try this picture, I am directly using the network address.
Https://res.cloudinary.com/practicaldev/image/fetch/s--yjlrbrT6--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/rlyibpr58qk49ci8y1rk.png
Did you configure it through the following two parameters in the article? I wonder if I made a mistake.
featuredImage: "Https://res.cloudinary.com/practicaldev/image/fetch/s--yjlrbrT6--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/rlyibpr58qk49ci8y1rk.png" featuredImagePreview: "Https://res.cloudinary.com/practicaldev/image/fetch/s--yjlrbrT6--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/rlyibpr58qk49ci8y1rk.png"
Same problem here. All post thumbnails are affected. You can see it for yourself here: https://ublogger-test-v2-0-1.netlify.app/
Note:
- Everything was working fine before updating to v2.0.x (it's fine on v1.3.x)
- I use
featuredImagePreview
to set the thumbnails - The images are retrieved from a relative path (eg. /images/image.jpg)
Apparently this only applies to featuredImagePreview, thanks for the tip.