Save image as string
bug: wrong order