f_prs_type = prs_name.replace(' ', '').upper()
# Construct image file name
pic_name = picturedir + aFieldName + "_" + str(i) + "_" + f_prs_type + "." + pictureext
f_prs_type = prs_name.replace(' ', '').upper()
# Construct image file name
pic_name = picturedir + aFieldName + "_" + str(i) + "_" + f_prs_type + "." + pictureext