Board Thread:Support Requests - Getting Technical/@comment-8868862-20150823131958/@comment-4731443-20150828015722

If you can use CSS, the solution is simple: .pi-theme-name div:first-of-type div:first-of-type { margin-left: auto; margin-right: auto; } This will target the first data entry in your infobox, which is the one containing your image, and make it centered. Just make sure to use the right class instead of .pi-theme-name, as explained here: Help:PortableInfoboxes/CSS.

Also note that if no image is displayed, this will center whichever row actually appears first in your infobox. You can alleviate this by setting a default image to ensure that one will always be displayed.