(It was hard to rename them when they were on a DVD)
I've recently put a LOT of pictures (.jpg) on my NAS.
Their existing names are somewhat..... poor.
I do see the advantage leaving them with their default names as when I look at them, they are in chronological order. But that makes it difficult to find a picture.
First thought is I leave/keep a prefix number for all the pictures in that directory, THEN add a descriptive name.
So the idea: Use NR to do the work.
What I'm wanting the flow to do:
I point to the NAS drive/folder on which I want to work.
A window opens and I see a preview of the piccie.
I can get the meta data displayed if I want. (exif?)
I have an option to rename the picture.
I'm not sure how to do all that.
I don't want to fall into the habit of having an idea and just asking Mr GPT for help.
I'd like to keep the resident hamster living in my head busy.
I guess I could start trying with local file/pictures to get the basics working.
What will exif show you that you are interested in and how would you like to rename them (ie to what?).
sidenote, i always work with tools on the commandline directly and call those with an exec node, a tool like exiftool can read a directory recursively and use the -json option so that it becomes usable in node-red.
Personally, I use a rename tool - for existing pictures I will rename in place. As most of my pictures are photos that contain at least some EXIF data, I use a set pattern and I split the images into folders based on year and month which I find works well for me.
I currently use Advanced Renamer though, of course, there are many other tools.
There is at least 1 npm module that will use exiftool behind the scenes and can be used with function nodes. exiftool is THE tool for managing exif data.
BTW, if renaming based on the exif date/time - don't forget that you may have clashing file names - don't forget to allow for adding an index number.
SFG offers loads of customisation using CSS and parameter options.
EDIT: The way I use SFG is to create a folder, with a suitable name, on my server - then FTP all the images into that area. SFG will "automagically" catalogue them for you - either by time/date or by filename (your choice).
To use the above with a remote NAS Drive, make sure you share the NAS drive as NFS for Linux or SMB for Windows. Then mount the remote drive into the filing system.
Remember, you only ever have to do this once!
Personally, while all my photos are on the NAS and are backed up from there to the cloud (don't forget that bit!), I actually have a COPY of them on my desktop PC and that is where I work on them. After doing some work, I use FreeFileSync to synchronise them back to the NAS. This is much quicker than trying to work on them remotely.
Dave's suggestion is interesting, but I don't have php (any) installed.
It may be an easier way to go, but it would be interesting to keep an eye on doing it with NR only for the reason I ant to improve my understanding of how it all works.
That is: Learn something and not spread myself too thin over too many different programs.