Hello Marcel,
I am getting a link as you have mentioned like ~/getattachment/image1/e80498af-fc24-418d-9e73-3387509dbcbf
but when I try to download the attachment it always shows .html as the file type.
Permanent URL is enabled. Also, I am not using page attachments. I don't want to attach images to a specific page since this can cause problems when it comes to staging.
kind regards