Cloudinary asset naming conventions
Overview
This document should be our single source of truth for asset naming conventions in Cloudinary. There are 8 folders in Cloudinary - mannequin, triptych, location, event, studio-campaign, graphics, paginated-carousel and bundles, and each has it's own naming convention. Asset names are checked through the use of upload presets, which will compare the asset name against the naming convention and will fail to upload the asset if it does not match.
Mannequin
<BASE-PRODUCT-SKU>_<VARIANT-COLOR>_<PRODUCT-NAME>_<SEASON>_<IMAGE-TYPE>_<ORDER>.filetype- The asset name must start with the base product sku and then the corresponding style variant
BASE-PRODUCT-SKUmust have 7 characters depending on the type of product e.g. apparel PTTO2SSVARIANT-COLORmust have 3 or 6 characters depending on the type of product e.g. apparel BLK, e-voucher XXXXXXPRODUCT-NAME- each word of the product name should be separated by - not _- Product name must contain only alphabetic characters (no spaces) and hyphens, try not to use long names as there are character limits
SEASONis not case sensitive, but it must be 4 or 5 characters where the 5th character can only be - e.g. h1-22, H122, h122IMAGE-TYPEis one ofMANNEQUIN,MACROorMODELORDER- filename must finish with a number for ordering. This can be 1 or 2 characters e.g. 1, 01, 10, 2- You must an underscore character to separate the different parts of the file name
- Keep filename as short as possible
Triptych
<BASE-PRODUCT-SKU>_<PRODUCT-NAME>_<SEASON>_<IMAGE-OR-VIDEO-TYPE>_XX.filetypeBASE-PRODUCT-SKUmust have 7 or 5 characters depending on the type of product e.g. apparel PTTO2SS, e-voucher EVR01PRODUCT-NAME- each word of the product name should be separated by - not _SEASONis not case sensitive, but it must be 4 or 5 characters where the 5th character can only be - e.g. h1-22, H122, h122IMAGE-OR-VIDEO-TYPEis one ofMANNEQUIN,MACROorMODEL- This naming convention will be used for images and videos in the triptych
XX- this can be anything - this is optional- You must an underscore character to separate the different parts of the file name
- Keep filename as short as possible
Location
<SEASON-OR-YEAR>_location_<COLLECTION>_<LOCATION>_<FILE-NUMBER>.filetypeor<SEASON-OR-YEAR>_<COLLECTION>_<LOCATION>_XX.filetypeSEASON-OR-YEAR- either the season or the year that the asset was created. Must be either 4 digit year or 4 or 5 character season either upper or lower case e.g. 2022, h122, H122, h1-22location- the word "location" - this is optionalCOLLECTION- the collection that is featured in the assetLOCATION- the location in which the asset was createdXX- this can be anything - this is optional- You must an underscore character to separate the different parts of the file name
- Keep filename as short as possible
Event
<SEASON-OR-YEAR>_event_<EVENT-NAME>_<COUNTRY>_XX.filetypeOR<YEAR>_<EVENT-NAME>_<COUNTRY>_XX.filetypeSEASON-OR-YEAR- either the season or the year that the asset was created. Must be either 4 digit year or 4 or 5 character season either upper or lower case e.g. 2022, h122, H122, h1-22event- the word "event" - this is optionalEVENT-NAME- the name of the eventXX- this can be anything - this is optional- You must an underscore character to separate the different parts of the file name
- Keep filename as short as possible
Studio-campaign
- This folder does not have a naming convention
Graphics
- This folder does not have a naming convention
Paginated Carousel
- This folder does not have a naming convention
Bundles
BUN-<YEAR-SEASON-NUMBER-COMBINATION>.filetypeBUNis the letters BUNSEASON-NUMBER-COMBINATIONis a 6 character number and letter SKU that details the season and number for the bundle e.g. H12204SEASON-NUMBER-COMBINATIONmust be uppercase- Only hyphen is allowed in between BUN and the year season combination, not underscore
- No other detail is allowed in the filename