Comments (1)
In the interim I mitigated this issue by simply downscaling the source images to be max 1200 pixels wide as that is in this theme the post width is never wider than that, and thus overly large images will never be downloaded. With source image capped at 1200 pixels wide markup looks now as:
<img src="https://optimizedbyotto.com/post/gitlab-mariadb-debian/gitlab-merge-request-example.png"
width="1200" height="793"
srcset="
https://optimizedbyotto.com/post/gitlab-mariadb-debian/gitlab-merge-request-example_hu1e545c513263554b17d7fe1f91a3652c_202147_480x0_resize_box_3.png 480w,
https://optimizedbyotto.com/post/gitlab-mariadb-debian/gitlab-merge-request-example.png 1200w"
loading="lazy" alt="Example merge request" class="gallery-image" data-flex-grow="151" data-flex-basis="363px">
The ideal solution would however be that the smaller https://optimizedbyotto.com/post/gitlab-mariadb-debian/gitlab-merge-request-example_hu1e545c513263554b17d7fe1f91a3652c_202147_480x0_resize_box_3.png loaded on page load, and the full-sized only then clicked by user.
from hugo-theme-stack.
Related Issues (20)
- The displayed title contains `#` HOT 6
- RSS lastBuildDate uses future (scheduled) post dates
- Why does the tutorial on the hugo website suggest to put it in the posts file, but this theme is in the posts folder? HOT 1
- Embedding large gifs doesn't get past the Build action HOT 1
- gitalk's proxy param not rendered HOT 1
- How to custom a multi-language params.sidebar.subtitle ? HOT 1
- Some math formulas can not be displayed HOT 2
- 主题实用的旧版本v2 Waline在更新到新版Waline V3后报错
- How to modify theme by using Hugo module? HOT 1
- Date format not showing correctly HOT 2
- Favicon not displaying HOT 4
- Language Switcher is present although the site is not multilingual on the latest Hugo HOT 2
- X-Content-Type-Options Header is not set. HOT 2
- Featured image of post 无法显示 HOT 3
- <.Site.Lastmod.IsZero>: can't evaluate field Lastmod in type page.Site HOT 9
- Rendering of section, taxonomy, term and site failed HOT 2
- site-avatar无法正常显示 HOT 2
- content/page/links.image 在非站点默认语言下无法加载本地图片 HOT 1
- Feature Request: Support GitInfo in LastModified HOT 4
- 文章底部【最后修改于】无法显示? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-theme-stack.