Added image deserialization