What are best practices for image file naming and sequencing

How you organize and name your files will have a big impact on sorting of 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, using 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 and dashes in file name. Alternatives to these include:
    1. Underscores, 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

  • Click here to see how to sequence items in a gallery.
  • Click here to see how to add caption to your images.