If you use Drafts, here’s a simple action to upload a photo to micro.blog then get markup suitable for use with the glightbox plugin. You’ll need an API key. It helps you be a good citizen by prompting for alt, desc, and title tags.

https://directory.getdrafts.com/a/1zZ