add base64 code and delete unuseful images