As my website becomes larger and more complex, I am starting to amass quite a number of Images, Thumbnails, Buttons, Icons, etc.
And the thought occurred to me this weekend that I better come up with a better naming convention before things get totally out-of-control?! :eek:
What "Naming Convention" do you use for your Images/Icons/etc?
And, in the examples below, which of the following do you think is best, and why?
Fill in the blank: ___________
Some people would say that you should keep your file names short-and-sweet, but I think there is a benefit to making them verbose.
First, like everything on my computer, I tend to name things in such a way that things file themselves. (So, for instance, having "star" as the leading characters would help all of my Stars to group together.)
Also, I personally like to keep the Image/Icon Dimensions handy because it helps when laying out pages and doing the CSS.
On the other hand, you could argue that if I have to tweak an Icon, say from 20px by 20 px to 16px by 16px that I have just created A LOT of work for myself, because I have to chase down those old file name and update my HTML and PHP... (:
I can see both arguments...
And this is probably why I am asking for advice from you guys...