Tek's Domain

#<NTA:NnT:SSrgS:H6.6-198:W200-90.72:CBWg>

My Next Obsolete Hobby: Film Photography

2021-06-24 3 min read My stuff Photography Teknikal_Domain Unable to load comment count

So here’s the thing. Compared to my other camera, the Nikon D7000, what I just bought is a 100% complete downgrade. However, I cannot resist the possibility of experiencing an era that had more or less ended before I was born. So, what did I do? I bought a 39 year old Nikon FG, which takes… 35mm film. But I won’t be stopping at just taking pictures… you’ll see shortly ;)

Continue reading

Doing What Markdown Can't: Specifying Image Width and Height

2021-04-29 7 min read Blog improvements My stuff Web stuff Teknikal_Domain Unable to load comment count

By default, the Markdown renderer in Hugo, at this point in time, is Goldmark, a CommonMark compliant renderer. CommonMark makes no provisions for manually specifying the width or height of an image. There’s various extensions, like those for Pandoc, Kramdown, and GFM , but Goldmark doesn’t support those. Google is getting a little cranky with the amount of CLS on some pages, especially on mobile, so it’s a good idea for me to start specifying sizes for most images. How should I do this? By hacking it on as a feature that is in no way the intended use for anything involved.

Continue reading

Detailed Images, With No Shortcodes

2021-04-28 5 min read Blog improvements My stuff Web stuff Teknikal_Domain Unable to load comment count

If you remember when I first added the Medium Zoom library, I wasn’t using one of its features: the ability to load a larger image when the user clicks to zoom in, only when the user wants to zoom in. However, I added this later, and in that, the method I used was to use a Hugo shortcode to include the image with proper attributes in the <img> tag. Well as it turns out, I don’t need to do this. Now, I can have that happen automatically with standard Markdown ![image links]().

Continue reading
Older posts