You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew Wilson <a....@elsevier.co.uk> on 1997/06/17 11:20:46 UTC

Re: [PATCH] to let mod_dir include HEIGHT/WIDTH attributes on icon IMGs

So now, when people design new icons they need to hack the conf each
time they want to view the page, or risk seeing their weirdly
dimensioned work displayed with some nobrain 20x22 geometry?

Just trying to look for a downside.

Why not let the default be as it is now, no geometry hints supplied if
none present in the .conf?

Ay.

Rodent of Unusual Size:
> 
>     This patch adds two new options to mod_dir's IndexOptions:
>     "IconHeight[=n]" and "IconWidth[=n]".  If both options are present,
>     the IMG tags for the FancyIndexing tags will include HEIGHT and
>     WIDTH attributes, allowing faster browser real-estate layout while
>     the images are loading.  If either of the options is specified
>     without an explicit value, the corresponding dimension of the
>     default Apache icons (20x22) is used.  E.g.,
>     "IndexOptions IconHeight IconWidth" leads to "HEIGHT=22 WIDTH=20",
>     and "IndexOptions IconHeight=44 IconWidth" leads to double-height,
>     normal-width ("HEIGHT=44 WIDTH=20").
> 
>     Two files in the patch: src/mod_dir.c and the documentation,
>     htdocs/manual/mod/mod_dir.html.
> 
>     #ken    :-)}

[snip]