Following from this question: Ruby - How to set data_uri (base64) filename with Shrine
This works perfectly for my use case, however, the derivatives that are created all have the filename "image_processing_xxx". The URLs look great, but when you right-click to download each image the filename doesn't look right or match the URL.
Is it possible to rename these to match the new original filename - and include a custom "_2x" or "_mobile" at the end of each (before .png/.jpeg)? Can I override it in somewhere? I've tried a lot of plugins but so far am having no such luck.
If anyone is trying to do the same, I've tested this working method:
This gives derivatives named download URLs, and "original" for the original file, both with the correct file extension.