Author: duncan
Date: Tue Jan  2 20:43:56 2007
New Revision: 8913

Modified:
   branches/rel-1/freevo/src/www/htdocs/library.rpy

Log:
Small fix to library from Chandan Pitta


Modified: branches/rel-1/freevo/src/www/htdocs/library.rpy
==============================================================================
--- branches/rel-1/freevo/src/www/htdocs/library.rpy    (original)
+++ branches/rel-1/freevo/src/www/htdocs/library.rpy    Tue Jan  2 20:43:56 2007
@@ -465,7 +465,7 @@
                     ### show image
                     if action_mediatype == "images":
                         size = (info['width'], info['height'])
-                        (scaled_image, new_size) = 
self.get_scaled_image_and_size(filepath, size)
+                        (scaled_image, new_size) = 
self.get_scaled_image_and_size(item, size)
                         image_link = self.convert_dir(filepath)
                         fv.tableCell('<div class="image"><a 
href="javascript:openfoto(\''+image_link+'\','+str(size[0])+','+str(size[1])+')">'\
                             +'<img src="'+scaled_image+'" 
height="'+str(new_size[1])+'px" width="'+str(new_size[0])+'px" />'\

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to