Hello!
I really checked GD2,
here is my phpinfo (maybe its show something)
www.redepsi.com.br/phpinfo.phpI tried to edit myalbum_photo.html but I did not found this line there.
I'm still using 2.64 (will upgrade to 2.70 soon)
I found this like as the closest to your code
<a href="<{$photo.imgsrc_photo}>" target="_blank" onClick="window.open('<{$photo.imgsrc_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>');return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" /></a>