My gallery looked similar to yours when I first installed ZP. But I stumbled upon a post and after following the fix, my gallery worked fine.
"Installed, but styles and links fail"
You're right, Joomlales, the bug is in the functions.php. After redefining your webpath, the gallery should be good.