Syllables, by definition, contain vowels. If the syllable ends in a vowel sound, it is open. If it ends in a consonant sound, it is closed.
Photo is an open syllable word.
It is an open syllable.
First syllable closed, second syllable open.
Closed
Closed
The second syllable is open, the first is closed.
Paper is a closed syllable word.
Both open syllables.
Both closed.
It's a closed syllable.
It's a closed syllable.
Swim is a closed syllable.