[SGVLUG] More custom images

Emerson, Tom Tom.Emerson at wbconsultant.com
Fri Jul 8 13:58:57 PDT 2005


> -----Original Message-----
> From: sgvlug-bounces at sgvlug.net [mailto:sgvlug-bounces at sgvlug.net]On
> Behalf Of Dustin
> 
> Yes, I know the JavaBean one is getting stretched somehow, 
> but I don't know why.

it's being stretched on the CLIENT side:

<td align="right" valign="top">
   <img src="http://sgvlug.laurences.net/mambo/templates/JavaBean/images/image_01.jpg" 
        width="600" height="182" alt="header" />
</td>

the actual dimensions of the image are: 600x140, the above html tags specify an area of 600x182, or about 1/3 taller (182 vs. 140) without being any wider (600==600)

if you download the image directly, you will see it looks "OK".  Interestingly enough, I cannot find a similar "img src..." tag for the other two templates (perhaps it's buried in the .css file?)  In any case, from the looks of those templates, the "height" isn't the same for those images anyway, so perhaps there is no overriding "height=" subtag.  (or if there is, it's just right for the actual image...)


More information about the SGVLUG mailing list