Now that I have Jekyll in place, I had to come up with a way to upload images to the server. Sometimes I still can’t wrap my head around how capable Shortcuts is. This ~~workflow~~ shortcut uses TinyJPG to compress, then Transmit to upload compressed images to the server.
Here’s a video about this process:
- I run the image through the CropSize app which optimizes it’s size and removes metadata.
- After this, I share the image to Shortcuts which compresses the image using TinyJPG, generates a unique name using MD5 on Unix epoch, then uploads the file to the server.
- At the and of this shortcut, I get a URL to the image, which I can paste into iA Writer (which I’m testing at the moment).