Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » proportional scaling of thumbnails in filepicker (for images)
Re: proportional scaling of thumbnails in filepicker (for images) [message #1480 is a reply to message #1472] Tue, 15 July 2008 16:06 Go to previous messageGo to previous message
ikatz is currently offline  ikatz
Messages: 40
Registered: December 2007
Location: Durham, NH
Member
Maybe I'm not being clear enough.

I want the cell size for each image to be identical, but I want the image to be scaled to fit that cell in such a way that the proportions remain the same. In other words, if my image is 100x200 and my cell is 100x100, I want the thumbnail to be 50x100 (not 100x100, which would appear stretched).

The attached xsl and thumbnail script accomplish this.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weird Parent->Child->Child screens help
Next Topic: override noedit on foreign field in multi2
Goto Forum:
  


Current Time: Mon Nov 25 03:32:09 EST 2024

Total time taken to generate the page: 0.01108 seconds