At 05:49 PM 10/15/2002  +0100, Robert O'Connor wrote:
> > Settings:
> > =======
> > Include images
> > Thumbnails 120x120
> > Only use thumbnails, don't use the full-size version
>
>The settings wrote to the plucker.ini/.pluckerrc for this scenario are:
>alt_maxheight=0
>alt_maxwidth=0
>maxheight=120
>maxwidth=120
>
>However, this still always includes an alternate rendition. The '0' seems 
>to do a full size
>linked alternate rendition.

<snip>

>I could have sworn that at some point in the past, alt_maxheight=0 and 
>alt_maxwidth=0 turned
>off linked alternate renditions. What should be entered into 
>plucker.ini/.pluckerrc nowadays to
>keep them out?

Looking at the source code, my guess is that providing NO alt_maxwidth and 
alt_maxheight disables the alternate images.  That's fundamentally 
different from them being 0; If they're set at all, they're applied.  I 
don't quickly see what happens when you append an image with size 
attributes of zero, but none-the-less it does call append.

This would be an easy fix if we can all agree on expected behavior.  I 
don't see a special value for zero from a quick peruse, and I do see 
precisely where the code could be modified to prevent linking an alternate 
image if either alt_maxwidth or alt_maxheight was set to zero.

(And Bill, this time I promise to submit a diff in addition to the full 
file! <grin>)

         Tony McNamara

_______________________________________________
plucker-list mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Reply via email to