via PayPal / credit card
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
Sometimes the downscaleToFit scale mode doesn't seem to work. For instance I have a large banner image. which is 900x115, and a slideshow viewport of 650x600. In this case it shows the image centered at its original size, with the ends truncated. I also have a portrait that is 600x800, and it appears stretched to fill instead of fit. In all other other cases it seems to work fine.
Any ideas what the problem could be? I can send you the images if you need them as examples.
This is me just taking a wild uneducated guess (because I really am not sure) but did I see something in the XML code that says Scale to Fit? If that is set to true perhaps it is adjusting your images like you say?
scaleToFit works fine. Its just downscaleToFit that has the bug.
I figured out the pattern. If the both the height *and* the width of the image are larger than the viewport, downscaleToFit works. But if only the height *or* only the width are larger than the viewport it decides not to downscale the image. Sound like its just a logic bug.
I'm guessing the code looks like this:
<code>
if (img.height > viewport.height && img.widht > viewport.width) {
downscaleImage();
}
</code>
but it should be testing with an or instead:
<code>
if (img.height > viewport.height || img.widht > viewport.width) {
downscaleImage();
}
</code>
Any chance of getting this fixed anytime soon?
Hi Paul, thanks for thinking with me. Could very well be the logic bug like you've mentioned. I'll check this out and will fix it for the next version. This should not be released very soon, but you'll get a mail when it does.
For now I guess the only way is to (batch)resize it manually, or use "scaleToFit" instead.
creator of MonoslideshowHey Monokay, could you release a 1.2.1 with just this fix? I have run into this problem as well and is slightly annoying. That should take you very little and would be very much appreciated. I am optimizing my site for different size views and having to batch resizing and uploading images would mean for me to have to manage 3 times all my images - not very practical... thanks!
I found same bug. Could you release bug fix version ASAP?
Sorry. Something different. I tested various sized pictures. The only picture having large height with in-sized width doesn't work in downsizetofit Mode.
Plz fix it and release the small modified version.
Thank you.
Monokai, my images doenst accept the scaleToFit.
my flashmovie is 620px width and 420px height. some images are with 400px widht and 480px height.
all of them appears with the 620px width...
how can i fix this bug??????
i try downscaleToFit and doesnt work too.
please, i meed this solution ASAP!!
HI, IM SORRY. I DISCOVER.... THIS IS NOT A BUG:
IT IS BECAUSE MY KEN BURNS ARE ENABLE... ITS ONLY DISABLE KENBURNS...
1 to 8 of 8