This commit is contained in:
Robert Gaggl 2001-11-18 22:05:08 +00:00
parent 85e35a4ccc
commit 3137f66cee
2 changed files with 4 additions and 4 deletions

View file

@ -203,8 +203,8 @@ function chooser(param) {
function renderImage(img,param) {
res.write("<img src=\"" + getProperty("imgUrl"));
if (this.alias)
res.write(this.alias + "/");
if (img.weblog)
res.write(img.weblog.alias + "/");
res.write(img.filename + "." + img.fileext + "\"");
res.write(" width=\"" + (param.width ? param.width : img.width) + "\"");
res.write(" height=\"" + (param.height ? param.height: img.height) + "\"");