modified template gallery url to absolute instead of relative