xRyul / obsidian-image-converter

⚡️ Convert and compress images from one format to another by drag'n'dropping or pasting files into the note.
MIT License
111 stars 11 forks source link

[FEATURE REQUEST] File naming: Add output/destination subfolder name into the filename #19

Open jiajiala opened 7 months ago

jiajiala commented 7 months ago

/assets/${filename}_assets

As above, I set the attachment on attachment location

Hopefully the converted files will also be in this folder

image

xRyul commented 7 months ago

I was looking into it. Not sure when I would release it yet, but it would be under variable {subfolder}, so then user would be able to build their own desired filename structure via variables:

{Filename}{Filename With Ext}{Filename Number}{Directory}{Folder name}{Accessed Date}{Creation Date}{Modified Date}{Size}{Size B}{Size KB}{File Type}{Current Date}{Color Model}{Compression}{Width}{Height}{DPI}{Ratio}{EXIF}{IPTC}

Also which plugin is in the screenshot? It manages all folder structure and file naming in 1 input field - I would be separating the 2.

jiajiala commented 7 months ago

image

amccaugh commented 5 months ago

This would be really helpful, and cut down on the number of options you need to specify in the default dropdown, would definitely be interested in this