Our images are all PNG type.
In WebHelp, some of our graphics still carry their original file name, for example, "newui-a-createnewdesign.png" in the page source. And that's the name someone would have available if someone right-clicked and opted to save the image.
However, a number of graphic file names have become "hmfile_hash_[number}" where [number} is an 8-digit hex number ("32411b9c," for example).
Most of these "hash" names have been substituted for a longish name given to them by our graphics expert. He has a penchant for including as much as possible in the file name, and that's not a bad thing.
For example, "01_01_04 Example Parent Child Hierarchy.png" has become "hmfile_hash_02177161."
Is this due to the length of the original file name?
? graphics named "hmfile_hash_[number]" versus orig. name
Moderators: Alexander Halser, Tim Green
-
- Posts: 575
- Joined: Sat Sep 23, 2017 9:05 pm
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: ? graphics named "hmfile_hash_[number]" versus orig. nam
No, it's due to using characters in the file name that are not allowed in HTML. This will generally be spaces, but can also include accented characters, umlauts (üöä) and other special or unusual characters. If the original file name wasn't changed your images wouldn't display in your web pages because the browser wouldn't be able to find them. Help+Manual changes them to the hash + number format to make absolutely certain that their are no duplicate name collisions, which could easily happen when correcting some different names in a standardized way.Is this due to the length of the original file name?
To avoid this just follow the following rules for file naming:
- Only a..z, A..Z, 0..9, - and _ in file names. No other characters.
- No spaces, accents, umlauts, non-alphanumeric characters.
- Don't start filenames with a number.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 575
- Joined: Sat Sep 23, 2017 9:05 pm
Re: ? graphics named "hmfile_hash_[number]" versus orig. nam
Life is fun. The guy who is most upset at the name change is the guy who insists on starting the file name with a number....
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: ? graphics named "hmfile_hash_[number]" versus orig. nam
You may be able to dispense with that part. Try it without changing the numbers (i.e. just eliminate spaces and special characters) and see how you go before going global on it.Dave Gehman wrote:Life is fun. The guy who is most upset at the name change is the guy who insists on starting the file name with a number....
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.