Tried alternative method for centering images
Tried defining image class to enable centering