init template
setting direction of poster