Custom Module: Automatically Merge Uploaded Photos into Albums
Hey everyone,
I’ve built a custom UNA module that automatically merges uploaded photos into an album — essentially combining and extending the logic of bx_photos and bx_albums to simplify the upload process.
In the current UNA flow, users have to choose between uploading a photo or creating an album. My goal was to make this seamless — users simply upload their images, and the system decides automatically whether to create an album (similar to how Timeline handles multiple images in one post).
I developed this with help from GPT-5 + Codex, but I’m struggling with the final implementation details. I’d really appreciate it if someone could take a look at the code and help me figure out what I might be missing.
Disclaimer
This is a free and open module — I’m not making a cent from it. My hope is that the UNA team considers adding this feature natively in a future release, as I believe it would make the platform’s user experience much smoother.
Thanks in advance!