Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for web-apps/fastcgi-gallery/_modules/gallery.pm between version 1.7 and 1.8

version 1.7, 2006/01/25 15:19:24 version 1.8, 2006/02/26 22:41:34
Line 517  sub get_scaled_picture_name { # {{{
Line 517  sub get_scaled_picture_name { # {{{
   
         my @dirs = split(/\//, $fullpath);          my @dirs = split(/\//, $fullpath);
         my $filename = pop(@dirs);          my $filename = pop(@dirs);
         my $newfilename;  
   
         if ($type eq 'JPG') {  
                 $newfilename = $width . 'x' . $height . '-' . $filename;  
         } else {  
                 $newfilename = $width . 'x' . $height . '-' . $filename;  
                 # needs to be configurable  
                 $newfilename =~ s/\.(\w+)$/-$1\.jpg/;  
         }  
   
           my $newfilename = $width . 'x' . $height . '-' . $filename;
         return $newfilename;          return $newfilename;
   
 } # }}}  } # }}}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top