aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1>2000-11-04 22:28:51 +0000
committerallen <allen@61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1>2000-11-04 22:28:51 +0000
commiteab0002a95addb6f61fee182edde617bd6d516cd (patch)
tree7a7a63444d9f841b49827a1c9593ab6f04348bf5
parent78a6075118faae421eb33db673ff2a6a606cdcda (diff)
Make the height of jpgs 100 pixels to match the width ... this will give the wrong shape box for domains which are not square, but at the moment it is giving the wrong shape for square domains. Needs to be fixed properly using coordinates for scaling, or there needs to be a scale parameter in IOJpeg. Unfortunately there doesn't seem to be a scale parameter for images in HTML
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPDExtra/trunk@16 61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1
-rw-r--r--src/IO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO.c b/src/IO.c
index 17ac90d..125bd86 100644
--- a/src/IO.c
+++ b/src/IO.c
@@ -426,7 +426,7 @@ static int ViewportFilePage(cGH *cctkGH, httpRequest *request, void *data)
"<A HREF=\"/Output/%s\">%s</A>\n"
"</small></td>\n"
"<td valign=center>%s</td>\n"
- "<td valign=center><img width=100 src=\"%s\"></td>\n"
+ "<td valign=center><img width=100 height=100 src=\"%s\"></td>\n"
"</tr>\n",
list->data.varname,list->linkname, list->filename,
list->data.description,list->linkname);