Hi PitchBlackCat, I'm not 100% certain that I follow, might be easier if I could see an example, but it sounds like you could stretch the image to fill the space you need by setting maintainAspectRatio to false. However, I wasn't quite sure if you wanted the images to be stretched to always be 200x200 or not. Did you want to decide based on the original image whether to pick 4:3 vs 3:4?
Thank you, Jeff On Thu, Sep 17, 2009 at 1:04 AM, PitchBlackCat <[email protected]>wrote: > > Hey, > > I'll try to explain my problem as best i can: > > I wanted to use the slideshow API to display a square DIV (200x200). > Now, i want my pictures (with an aspect ratio of 4:3 or 3:4) to be > maximized in that square. > > So i want them to be scaled, but i don't whant them nasty black bars > to show up, i want them to be slightly larger, so the height or the > width is scaled to 200px, and the other is scaled to 267px. > > is that possible with the slideshow API? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en -~----------~----~----~----~------~----~------~--~---
