Please post your log.
Ideally, also post code so we can run your code and replicate your issue. You can use datasets from SASHELP to start off with.
Errors noted in your code so far:
1. Spaces between title and number (Title 1 vs Title1)
2. PROC SGRENDER doesn't seem to have data passed through, hard to say though.
3. Spaces between in and measurement in height/weight statements.
Your SGTemplate also needs to account for the title somehow, so you may need changes there.
This generates the graphic, but not in the correct directory so that may not be specified correctly.
ods _all_ close;
ods listing gpath = "C:\_LOCALdata\test.png";
ods graphics on /reset height= 3.25in
width = 6in reset imagefmt = png reset imagename = "TEST"
border = off;
proc sgplot data =sashelp.class;
scatter x=height y=weight;
title1 "xxx";
title2 "yyy";
run;
ods graphics off;
ods listing ;
... View more