Most of the time the images were only resized a few pixels..
For some reason the Joy of Tech comic that was added uses a pic size that is
so small, it is basically unreadable on my machine..

When I was working on comx, I labored to try to find a way to fetch the
image dimensions before pulling the image down to have a window that opens
to 100% of the contents.  Basically it can't be done.  The only way to do it
was to fetch the image, open the window, place in the image, and then resize
the window to fit it.   I had this working but that window resizing method
was really ugly with the window flashing up and slinging to a new size,
especially when 5 or six comics were solicited.   This is why I went to the
method of setting a fixed size for the weekday comics, and another for the
Sunday version.

Did you mean to attach a modified comx search? or did you already check in
the modified version?  Sourceforge appears to be having troubles.. I cannot
get in to check to see..

Monty


----- Original Message ----- 
From: "Gregory Krohne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 26, 2004 1:21 PM
Subject: [DQSD-Users] RE: Comx update: properly sized windows


> I didn't like the way comx was sizing the image to the window. For comics
> that are always a standard size, this works fine. For Joy of Tech (which
> varies in size), this never works. For that matter, many of the standard
> comics didn't look right either, because "window.open" seems to ignore the
> width and height parameters. To compensate, I wrote some more regular
> expressions to pull out the width and height for Joy of Tech (and User
> Friendly, just in case). For all windows, I adjust the height and width
> numbers by 9 and 34 pixels, respectively. Then, I resize the window to fit
> the comic. This seems to render comics that are consistently the same
> dimensions as the original. I tried leaving the image width/height
> attributes at 100% in the stylesheet, but it never looked quite right. Try
> it, and see if you don't like it better this way.
>
> Regards,
> Greg Krohne
>
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to