Constipation? Poop photo


Is this constipation because there is small pieces ? I wasn’t in the room to notice he was straining. He was in his crib for 5 min or so and came back he had pooped. Squished it a bit when I was looking but u get the idea... he was throwing up sick on thursday . Could have lost some fluids that day. Or is this normal with solids? I wasn’t sure