I'm looking at the support for alternate sizes of images, and
wondering if something should change.

To refresh everyone's memory: There are two kinds of image pages
included in a Plucked document, inline and separate.  Inline occur in
a text page; separate occur as separate pages, either the home page or
pointed to from a text page.  When the user specifies a value for
'alt_maxwidth' or 'alt_maxheight', a separate image is also included
for each image that has to be scaled down to fit the regular
'maxwidth' or 'maxheight' rules.

What I've found is that if we have a pointed-to-by-a-link separate
image, it too will be scaled to fit 'maxwidth' and/or 'maxheight',
even though it's on a page by itself, and *another* separate image
will be linked from it, this one scaled to fit 'alt_maxwidth' or
'alt_maxheight'.  This seems wrong (and wasteful) to me.

I'm proposing to change this so that if 'alt_max*' is specified, and a
separate image page is produced as the result of a link, it will be
scaled to the 'alt_max*' sizes instead of the regular 'max*' sizes,
and no additional separate page will be created.  If 'alt_max*' is not
specified, the regular 'max*' restrictions will be honored.

Sound OK to everyone?

Bill

Reply via email to