Best practices for image file naming and sequencing

How you organize and name your files will have a big impact on sorting your images and sequencing them on the website.

Pixpa recommends following file naming structure: 

  1. Do not add image file names too long, since long file names do not work well.
  2. All special characters such as  ~ ! @ # $ % ^ & * ( ) ` ; < > ? , [ ] { } ‘ ” and | should be avoided. Stick to numbers, roman letters (preferably lower case), and underscores (_).
  3. When using a sequential numbering system, use leading zeros for clarity and to make sure files sort in sequential order. For example, use “0001, 0002, …0010, 0011 … 0100, 0101, etc.” instead of “1, 2, …10, 11 … 100, 101, etc.”
  4. Do not use spaces in file name. Alternatives to these include:
    1. Underscores or dashes, e.g. file_name.xxx
    2. No separation, e.g. filename.xxx
    3. Camel case, where the first letter of each section of text is capitalized, e.g. FileName.xxx
Pro Tip

If you want the images to be searched by part of the filename then you should use dashes in between. For better image sorting and search by entire filename you should use Underscore (_)


Can't find what you're looking for?

Get in touch with a Pixpa Expert.