Menu

#3 final image size is not constrained ...

open
nobody
5
2002-10-30
2002-10-30
Jar Lyons
No

For most users, simply dropping in digital cam
images will result in images oversized for
most browsers.

I found the following patch a simple fix.

[root@backup zgal]# diff /usr/local/bin/zgal.pl
zgal_modified.pl
501c501
< " <img src=\"$extern_jpg_url$name\" border=\"0\"
name=\"$name\" alt=\"$name\"><br><br>",
---
> " <a href=\"$name\"><img src=\"$extern_jpg_url$name\"
border=\"0\" name=\"$name\" alt=\"$name\"
width=\"800\"> <br><br>",

It limits the html image width to 600 pixels,
and the image is now a link to the flat image file, in
case you still want to see the original image in it's
original dimensions.

Discussion


Log in to post a comment.