|Posted: Wed, 2012-05-30 22:54|
Thought I'd post a note about this in case it's of help to anyone else.
I am adding thousands of files to a new installation of Gallery 3. These are research images and as such have long, descriptive file names. When adding files to Gallery 3 via server add, it will ignore files with multiple periods (.) in the filename. I presume this is due to extension screening, where Gallery is looking for specific file types and ignoring others.
At first I thought this was a weird issue with filename length or directory depth, but that is not the case. For example, adding a file named:
will not work, and the file gets ignored. My assumption is gallery thinks it's some kind of ".0050" file.
At this point, the only solution I'm aware of is to rename the files. You could do that locally or on the server. If you are on a Linux system with rename installed (part of util-linux-ng), at the shell you can run a little batch process within your gallery's data directories like:
# rename "." "-" *.jpg
should rename the above file to:
That should clean things up nicely. Google filename character replacements and you should be able to find many other examples.