Using len( -1) for determining leading zeros in image file name.
old: zfill_count = len(str(df.shape[0]))
new: zfill_count = len(str(df.shape[0]-1))
According to nft.py.
nft.py creates the file name for storing each image
metadata.py creates the file name for the image URI to be stored in the json file for each image
Old version not working for the first number with 2, 3, 4, ... digits (10 NFTs, 100 NFTs, 1000 NTFs, ...), because in this cases metadata.py would use one leading zero more than nft.py for the file name generation.
Using len( -1) for determining leading zeros in image file name.
old: zfill_count = len(str(df.shape[0]))
new: zfill_count = len(str(df.shape[0]-1))
According to nft.py.
nft.py creates the file name for storing each image
metadata.py creates the file name for the image URI to be stored in the json file for each image
Old version not working for the first number with 2, 3, 4, ... digits (10 NFTs, 100 NFTs, 1000 NTFs, ...), because in this cases metadata.py would use one leading zero more than nft.py for the file name generation.