A giraffe is putting his nose up against the bark of a tree
A giraffe putting his nose on a tree trunk. 
A giraffe has its nose pressed against the trunk of a tree.  
A giraffe rubbing it's nose on a tree trunk.
A giraffe with its nose touching a tree.