Fix a few broken images
This commit is contained in:
@@ -211,8 +211,8 @@ In closing, this project was a great way to get familiar with Lambda and
|
|||||||
the wider AWS ecosystem. It came together in just a few hours and is
|
the wider AWS ecosystem. It came together in just a few hours and is
|
||||||
still going strong several months later. My typical bill is something on
|
still going strong several months later. My typical bill is something on
|
||||||
the order of $0.50 per month. If anything goes wrong, I can pop into
|
the order of $0.50 per month. If anything goes wrong, I can pop into
|
||||||
CloudWatch to view the result of the function, but so far, [so
|
CloudWatch to view the result of the function, but so far,
|
||||||
smooth](smooth-yoda.jpg).
|
[so smooth]({{<dither_url smooth-yoda.jpg>}}).
|
||||||
|
|
||||||
I'll be back in a few weeks detailing the rest of the project. Stay
|
I'll be back in a few weeks detailing the rest of the project. Stay
|
||||||
tuned!
|
tuned!
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ e-paper picture frames for my family, and I thought it'd be cool to
|
|||||||
walk through the process in case someone out there wants to try
|
walk through the process in case someone out there wants to try
|
||||||
something similar.
|
something similar.
|
||||||
|
|
||||||

|
{{<dither IMG_0120.jpeg />}}
|
||||||
|
|
||||||
In short, it's a Raspberry Pi Zero connected to a roughly 5-by-7-inch
|
In short, it's a Raspberry Pi Zero connected to a roughly 5-by-7-inch
|
||||||
e-paper screen, running some software I wrote in Go and living inside a
|
e-paper screen, running some software I wrote in Go and living inside a
|
||||||
@@ -51,7 +51,7 @@ extracts the attachments from the email, crops them a couple of ways
|
|||||||
(one for display on a webpage, the other for display on the screen), and
|
(one for display on a webpage, the other for display on the screen), and
|
||||||
uploads the results into an S3 bucket.
|
uploads the results into an S3 bucket.
|
||||||
|
|
||||||

|
{{<dither Screen_Shot_2021-05-09_at_1_26_39_PM.png />}}
|
||||||
|
|
||||||
## The Software
|
## The Software
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ And that should be it. The photo gallery should be accessible at a local
|
|||||||
IP and the photo should update hourly (though not ON the hour as that's
|
IP and the photo should update hourly (though not ON the hour as that's
|
||||||
not how `cron.hourly` works for some reason).
|
not how `cron.hourly` works for some reason).
|
||||||
|
|
||||||

|
{{<dither IMG_0122.jpeg />}}
|
||||||
|
|
||||||
## Building the Frame
|
## Building the Frame
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ It's easier to play than explain, so mosey on over to
|
|||||||
to know more about how each of us fared going heads down on one project
|
to know more about how each of us fared going heads down on one project
|
||||||
for 48 hours (and counting), read on.
|
for 48 hours (and counting), read on.
|
||||||
|
|
||||||

|
{{<dither 662shots_so-1.png />}}
|
||||||
|
|
||||||
## [**Haley**](https://www.viget.com/about/team/hjohnson/) **\| Pointless Role: Design \| Day Job: PM**
|
## [**Haley**](https://www.viget.com/about/team/hjohnson/) **\| Pointless Role: Design \| Day Job: PM**
|
||||||
|
|
||||||
@@ -141,8 +141,7 @@ automatically sets up HTTPS and proxies traffic to our Remix app:
|
|||||||
Our overall architecture (running with `docker compose`) looks like
|
Our overall architecture (running with `docker compose`) looks like
|
||||||
this:
|
this:
|
||||||
|
|
||||||

|
{{<dither verbose-arch.png />}}
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: "Encrypt and Dither Photos in Hugo"
|
title: "Encrypt and Dither Photos in Hugo"
|
||||||
date: 2024-02-05T09:47:45-05:00
|
date: 2024-02-05T09:47:45-05:00
|
||||||
draft: false
|
draft: true
|
||||||
references:
|
references:
|
||||||
- title: "Elliot Jay Stocks | 2023 in review"
|
- title: "Elliot Jay Stocks | 2023 in review"
|
||||||
url: https://elliotjaystocks.com/blog/2023-in-review
|
url: https://elliotjaystocks.com/blog/2023-in-review
|
||||||
@@ -21,6 +21,10 @@ references:
|
|||||||
file: solar-lowtechmagazine-com-vj7kk5.txt
|
file: solar-lowtechmagazine-com-vj7kk5.txt
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Intro text here ...
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
* https://github.com/gohugoio/hugo/issues/8598
|
* https://github.com/gohugoio/hugo/issues/8598
|
||||||
|
|
||||||
A more ambitions version of me would take a crack at adding this functionality to Hugo and opening a PR.
|
A more ambitions version of me would take a crack at adding this functionality to Hugo and opening a PR.
|
||||||
|
|||||||
5
themes/v2/layouts/shortcodes/dither_url.html
Normal file
5
themes/v2/layouts/shortcodes/dither_url.html
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{{ $file := printf "%s%s" .Page.RelPermalink (.Get 0) }}
|
||||||
|
{{ $geo := .Get 1 }}
|
||||||
|
{{ $img := resources.GetRemote (printf "%s%s?geo=%s" (getenv "DITHER_SERVER") $file $geo) }}
|
||||||
|
|
||||||
|
{{ $img.RelPermalink }}
|
||||||
Reference in New Issue
Block a user