images now stored as byte array in post