Named, Not Shown
Named, Not Shown
A picture named in frontmatter that this page’s prose never renders — the case where a preview has to be opened rather than merely resolved.
There is a hero above this paragraph, and that is the point. A Small Drawing
also names its preview, but its body shows the same file, so the theme skips drawing a lead image rather than
printing one picture twice. Here the body shows nothing, so the theme draws it — one flag, PreviewInBody,
carries that difference, and it has to, because nothing else about the two cases differs any more.
It used to. A named file reached every consumer as a bare URL: the renderer can turn a name into an address
and nothing else, so og:image went out with no dimensions and the hero above was the full-size upload
regardless of how wide the box was. The derivatives existed the whole time — the engine writes them for every
picture under assets/ — but a derivative’s filename is a hash of its source’s content, and only the pass
that reads the file computes one.
So the feature that reads pictures reads this one too. View source and three things follow from that: the
og:image:width and og:image:height in the head are measured rather than absent, the srcset on the hero
names generated widths, and this page’s row in the listing offers a thumbnail-sized file instead of an
1800-pixel photograph. Whatever _river-gauge.jpg.yaml says about the file would arrive too, the same as for
a picture written into the prose.
The name is root-relative here, /assets/river-gauge.jpg, which resolves against the shared pool rather than
this publication’s own directory — a page can name either, and the address a browser is given is the one the
engine emits rather than the reference as written.
সাবস্ক্রাইব
মাপ ওঠে যখন মাপা হয়, কোনো নিয়মে নয়: বেশিরভাগ সপ্তাহে দুবার, বর্ষায় রোজ। যেভাবেই অনুসরণ করুন, আপনার কিছুই এখানে রাখা হয় না।
- ফিড রিডারে
- Atom · JSON Feed. প্রতিটি বিভাগের আলাদা ফিডও আছে: বিভাগের ঠিকানার শেষে feed.xml।
- ফেডিভার্সে
- ম্যাস্টোডন বা অন্য যেকোনো ফেডিভার্স অ্যাপে https://adventure.x.bdeshi.space/ খুঁজে ফলো করুন।
- নিজের সাইট থেকে
- ইন্ডিওয়েব রিডারে https://adventure.x.bdeshi.space/bn/ ফলো করুন। নিজের সাইট থেকে কোনো লেখার উত্তর, লাইক বা রিপোস্ট ওয়েবমেনশনে এখানকার লেখায় পৌঁছায়।
মাপ ওঠে যখন মাপা হয়, কোনো নিয়মে নয়: বেশিরভাগ সপ্তাহে দুবার, বর্ষায় রোজ। যেভাবেই অনুসরণ করুন, আপনার কিছুই এখানে রাখা হয় না।
- ফিড রিডারে
- Atom · JSON Feed. প্রতিটি বিভাগের আলাদা ফিডও আছে: বিভাগের ঠিকানার শেষে feed.xml।
- ফেডিভার্সে
- ম্যাস্টোডন বা অন্য যেকোনো ফেডিভার্স অ্যাপে https://adventure.x.bdeshi.space/ খুঁজে ফলো করুন।
- নিজের সাইট থেকে
- ইন্ডিওয়েব রিডারে https://adventure.x.bdeshi.space/bn/ ফলো করুন। নিজের সাইট থেকে কোনো লেখার উত্তর, লাইক বা রিপোস্ট ওয়েবমেনশনে এখানকার লেখায় পৌঁছায়।