adds text align center and float left to images