Separate image and category buffer, allow category outside [0-9]