Using some predefined naming schema is not a solution for me. I need to customize the naming myself - Or just remove spaces or use underscore “_” instead.
The problem is that Obsidian uses spaces when pasting, like “Pasted Image” and I do not want spaces in the filename.
Why you might ask?
Because I do backups to Github and Obsidian replaces spaces with “%20” in my setup. But when you view the markdown file in github, it cant find the file when there is “%20” in the filename.
I would have, but Obsidian isn’t open-source. And you don’t need to be smart to avoid spaces, it is a well-known source of problems, especially if you have a plugin ecosystem.
+1 on this. Would be nice to remove anything that could cause %20 in file names automatically by Obsidian. We can add them back if we want but when pasting images or anything else, have it replace spaces with underscores or remove them altogether is best.
Attachment Management by trganda is another community plugin that can address this use case entirely, while you are waiting to see if this is implemented in core.