A dog is looking out of the open window of the truck.
the dog is looking out of the window of the truck 
A dog hanging out the side of a car door window.
This is a picture of a dog enjoying his car ride.
A dog sitting in a truck with his head out of the window.