[l2h] Width & Height of GIF images creating problems with IE
Alex W Twisleton-Wykeham-Fiennes
alex.list@cord.co.uk
Thu, 26 Sep 2002 08:59:06 +0100
--------------Boundary-00=_IUC15DG8DH72YEMZS4HJ
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Bruce
<snip>
> BTW: it wont actually recognize things like \columnwidth
> I was already going out on a limb enough, interpretting points, etc,
> but what columnwidth would be appropriate for a user's browser?
> Would you want/expect width="75%" here ? Is that worth a couple
> of special cases, Ross ?
I have made a simpler lyx exported text file that I've attached to this mail.
The include in this case is just:-
\includegraphics{zones.gif}
> At any rate, in your example, the current code would treat the `requested
> size' as 0x0, so should default to the image's natural size.
> It looks as if it didn't succeed in getting the size.
> Running with --verbosity=2 should print out something like:
> Reuse somewhere/zones.gif scaled to www x hhh
> and I guess in your case, www and hhh are probably ''
I get the following:-
Reuse /home/alex/temp/giftest/./zones.gif scaled to 754 x 646
embedding ./zones.gif for web image, with Image zones
and imagemagick reports:-
alex@interzone:~/temp/giftest> identify zones.gif
zones.gif GIF 754x646+0+0 PseudoClass 256c 8-bit 96kb 0.0u 0:01
but the generated html still says:-
<IMG
WIDTH="" HEIGHT="" ALIGN="BOTTOM" BORDER="0"
SRC="./zones.gif"
ALT="Image zones">
<snip>
> Must have `found' it, and apparently had permission to read it, but
> apparently it didn't _understand_ it!
must have read it and understood it from the verbose report.
Incidentally, I tried converting the image to a jpeg image and got the same
result (width & height == "")
Alex
--
/ \
| alex twisleton-wykeham-fiennes |
| c | or | d ltd |
| http://www.cord.co.uk |
\ /
--------------Boundary-00=_IUC15DG8DH72YEMZS4HJ
Content-Type: text/x-tex;
charset="iso-8859-1";
name="giftest.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="giftest.tex"
%% LyX 1.2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[10pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\setlength\parskip{\medskipamount}
\setlength\parindent{0pt}
\usepackage{graphicx}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\usepackage{babel}
\makeatother
\begin{document}
\includegraphics{zones.gif}
\end{document}
--------------Boundary-00=_IUC15DG8DH72YEMZS4HJ--