adamdbradley/foresight.js — pull request #24 by jmuthad (2012-05-29 13:33:23+00:00)
Title: Fix for specified aspect ratio with fixed width

Hi Adam,

Ray Daly and I have made some modifications to the library to make it work with a set aspect ratio and a fixed width specified by CSS. There is probably some room for improvement in the way we now calculate the height value off the aspect ratio so that we could make the library smaller. I think there is some discussion in order on how to do it however so I'll make that in another issue before doing any work on it.

Also note that the demo we created calls now to a dynamic image library that doesn't actually resize the image off the aspect ratio, not sure if it is possible to get the demo server to do that but the request is being generated correctly.

Thanks,
Thad