I have N squares. I have a Rectangular box. I want all the squares to fit in the box. I want the squares to be as large as possible.
how to create fixed size thumbnail dynamically and resize image in listview best fit the size of the thumbnail.
I am creating thumbnails of fixed height and width from my PHP script using the following function /*creates thumbnail of required dimensions*/