mgx

pix.mgx.me (wip)

Just set up pix.mgx.me photo blog/gallery.

The workflow is powered by Python (Telegram) and PHP.

Here's how it works:

I have a Telegram bot that takes any images (uploaded as Files) I send and saves them to my RackNerd server. Then, index.php scans the media folder and renders the images.

On the index, the embedded image tags show compressed versions of the photos for quicker loading. But when you click on a thumbnail, it loads the original full-size image in a lightbox popup. The EXIF data is also displayed in the lightbox.

It's a basic setup but works well as proof of concept.

I will optimize things later.

Goodnight for now.


I came across Herman's pinned post, by the way. I truly feel that most of my content is unsuitable for the Bear community. Anyway, I will be sure to set Bearblog-related tips or themes as discoverable.