Image filename format rules
What are the rules for filenaming images that will guarantee acceptance by iMac, MacBook Pro and iPad?
I have noticed that iPad in particular will not accept some formats.
Eg: I need to rename my images taken on a lumix which have the format "Pfffnnnn.jpg" where P stands for photo (presumably), fff the folder number on the Lumix and nnnn the frame number. The revised format must be "SSX-Placename-MI-1_" plus "Pfffnnnn.jpg". The iMac and the MacBook Pro accept this, but the iPad ignores it. The images will finally be loaded onto an online database and must have the revised format.
How can I get round this? I suspect there are other formats which also not allowed.
iPad Air, iOS 12