Fixed: Check for image mode
Fixed: Filling absent attribute values