Separate image and input text